|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.link.ILnkPeerEndpoint.FlushContext
public abstract static class ILnkPeerEndpoint.FlushContext
Base class for all flushing contexts.
A peer endpoint supports multiple flushing modes. When the user enques a packet in or flushes the endpoint, it needs to specify the flush mode to use for the flush. Each flush mode is represented by a flush context that holds flush mode specific information to be returned to the user. This class is the base class for all flush contexts (modes)
Nested Class Summary | |
---|---|
static class |
ILnkPeerEndpoint.FlushContext.FlushMode
Flush modes. |
Field Summary | |
---|---|
ILnkPeerEndpoint.FlushContext.FlushMode |
flushMode
The flush mode. |
Method Summary | |
---|---|
Object |
getAttachment()
Get the object attached to a flush context. |
abstract void |
reset()
Resets the flush context before use. |
ILnkPeerEndpoint.FlushContext |
setAttachment(Object object)
Attach an opaque object to a flush context. |
String |
toString()
String representation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final ILnkPeerEndpoint.FlushContext.FlushMode flushMode
Method Detail |
---|
public abstract void reset()
public final ILnkPeerEndpoint.FlushContext setAttachment(Object object)
public final Object getAttachment()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |