org.eclipse.net4j.protocol
Class Protocol
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.net4j.protocol.Protocol
- All Implemented Interfaces:
- IBufferHandler, IProtocol, INotifier, INotifier.Introspection, ILifecycle, ILifecycle.Introspection
- Direct Known Subclasses:
- SignalProtocol
public abstract class Protocol
- extends Lifecycle
- implements IProtocol
Methods inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle |
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, deferredDeactivate, doActivate, doBeforeDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, isDeferredDeactivation, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Protocol
public Protocol()
getChannel
public IChannel getChannel()
- Specified by:
getChannel
in interface IProtocol
setChannel
public void setChannel(IChannel channel)
- Specified by:
setChannel
in interface IProtocol
getBufferProvider
public IBufferProvider getBufferProvider()
- Specified by:
getBufferProvider
in interface IProtocol
setBufferProvider
public void setBufferProvider(IBufferProvider bufferProvider)
- Specified by:
setBufferProvider
in interface IProtocol
getExecutorService
public java.util.concurrent.ExecutorService getExecutorService()
- Specified by:
getExecutorService
in interface IProtocol
setExecutorService
public void setExecutorService(java.util.concurrent.ExecutorService executorService)
- Specified by:
setExecutorService
in interface IProtocol
getInfraStructure
public java.lang.Object getInfraStructure()
- Specified by:
getInfraStructure
in interface IProtocol
setInfraStructure
public void setInfraStructure(java.lang.Object infraStructure)
- Specified by:
setInfraStructure
in interface IProtocol
doBeforeActivate
protected void doBeforeActivate()
throws java.lang.Exception
- Overrides:
doBeforeActivate
in class Lifecycle
- Throws:
java.lang.Exception
doDeactivate
protected void doDeactivate()
throws java.lang.Exception
- Overrides:
doDeactivate
in class Lifecycle
- Throws:
java.lang.Exception