com.sleepycat.je.rep.utilint
Class ServiceDispatcher.ExecutingRunnable
java.lang.Object
com.sleepycat.je.rep.utilint.ServiceDispatcher.ExecutingRunnable
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- GroupService.GroupServiceRunnable, MonitorService.MonitorServiceRunnable, NodeStateService.NodeStateServiceRunnable
- Enclosing class:
- ServiceDispatcher
public abstract static class ServiceDispatcher.ExecutingRunnable
- extends Object
- implements Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
channel
protected final SocketChannel channel
protocol
protected final TextProtocol protocol
expectResponse
protected final boolean expectResponse
ServiceDispatcher.ExecutingRunnable
public ServiceDispatcher.ExecutingRunnable(SocketChannel channel,
TextProtocol protocol,
boolean expectResponse)
run
public void run()
- Specified by:
run
in interface Runnable
getResponse
protected abstract TextProtocol.ResponseMessage getResponse(TextProtocol.RequestMessage request)
throws IOException
- Throws:
IOException
logMessage
protected abstract void logMessage(String message)
Copyright (c) 2004-2012 Oracle. All rights reserved.