|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ten60.netkernel.layer1.nkf.impl.NKFTransportImpl
Base class for developing NetKernel Transports on the NKF API
Constructor Summary | |
NKFTransportImpl()
|
Method Summary | |
void |
destroy()
Low-level transport stop, performs NKF-speocific shutdown |
protected INKFConvenienceHelper |
getContext()
Get an INKFConvenienceHelper context object through which to interact with the Kernel. |
void |
initialise(Container aContainer,
ModuleDefinition aRequestorContext)
Low-level transport start, performs NKF-speocific inititialisation |
void |
setContext(IRequestorContext aRequestorContext)
Change the context of this transport, used in hot restart |
protected abstract void |
startTransport()
Called when the transport is started by the Kernel |
protected abstract void |
stopTransport()
Called when the transport is stopped by the Kernel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ten60.netkernel.transport.ITransport |
getDescription |
Constructor Detail |
public NKFTransportImpl()
Method Detail |
public final void setContext(IRequestorContext aRequestorContext)
ITransport
setContext
in interface ITransport
public final void initialise(Container aContainer, ModuleDefinition aRequestorContext) throws NetKernelException
initialise
in interface IURComponent
aContainer
- aRequestorContext
-
NetKernelException
protected abstract void startTransport() throws Exception
Exception
public final void destroy() throws NetKernelException
destroy
in interface IURComponent
NetKernelException
protected abstract void stopTransport() throws Exception
Exception
protected final INKFConvenienceHelper getContext()
|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |