com.neeve.link
Class ILnkPeerEndpoint.SynchronousBlockingFlushContext
java.lang.Object
com.neeve.link.ILnkPeerEndpoint.FlushContext
com.neeve.link.ILnkPeerEndpoint.SynchronousBlockingFlushContext
- Enclosing interface:
- ILnkPeerEndpoint
public static final class ILnkPeerEndpoint.SynchronousBlockingFlushContext
- extends ILnkPeerEndpoint.FlushContext
Context for synchronous blocking flushing through a peer endpoint..
The user provides either an instance of this class or null to the
ILnkPeerEndpoint.enque(short, com.neeve.pkt.PktPacket, com.neeve.link.ILnkPeerEndpoint.FlushContext, int)
and ILnkPeerEndpoint.flush(short, com.neeve.link.ILnkPeerEndpoint.FlushContext)
methods to request for synchronous
blocking flush semantics.
Field Summary |
boolean |
complete
Indicates whether the endpoint was flushed or not. |
Method Summary |
void |
reset()
Implemented FlushContext method. |
String |
toString()
String representation. |
complete
public boolean complete
- Indicates whether the endpoint was flushed or not.
Upon successful return from the ILnkPeerEndpoint.enque(short, com.neeve.pkt.PktPacket, com.neeve.link.ILnkPeerEndpoint.FlushContext, int)
method, this field
is set to true in case the enque method implictly flushed the
endpoint. A value of false indicates that the endpoint was not
flushed. The value in this field is always equal to the value
returned by the enque method.
Upon successful return from the ILnkPeerEndpoint.flush(short, com.neeve.link.ILnkPeerEndpoint.FlushContext)
method, this member
will always be true.
ILnkPeerEndpoint.SynchronousBlockingFlushContext
public ILnkPeerEndpoint.SynchronousBlockingFlushContext()
- Constructor.
reset
public final void reset()
- Implemented FlushContext method.
- Specified by:
reset
in class ILnkPeerEndpoint.FlushContext
toString
public final String toString()
- String representation.
- Overrides:
toString
in class ILnkPeerEndpoint.FlushContext
Copyright © 2015 Neeve Research, LLC. All Rights Reserved.