|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILnkRootEndpoint
The Link Tree Root Endpoint interface.
A root endpoint represents the root of a link tree. It is responsible for controlling the read machinery of the tree as well as resolving the read-write threading model that will apply to the endpoints of the tree. This interface forms the base interface for the various types of root endpoints.
Nested Class Summary | |
---|---|
static class |
ILnkRootEndpoint.ThreadingModel
Endpoint threading models. |
Method Summary | |
---|---|
ILnkRootEndpoint.ThreadingModel |
getThreadingModel()
Get the threading model in use by the link tree. |
boolean |
isReadOperational()
Indicates whether the link tree's read machinery is operational. |
void |
registerMessageFactory(ILnkMessageFactory factory)
Register a message factory with a root endpoint. |
void |
scheduleRead()
Schedule a proactive read. |
Method Detail |
---|
ILnkRootEndpoint.ThreadingModel getThreadingModel()
boolean isReadOperational()
void registerMessageFactory(ILnkMessageFactory factory)
This method registers a message factory with a root endpoint. See
ILnkMessageFactory
for details on how the endpoint uses the
message factory. This method can only be invoked prior to the
starting of the endpoint's read machinery
void scheduleRead() throws ELnkOpFailedException
ELnkOpFailedException
- Thrown in case an error was encountered
during the scheduling of the read.
This method can be used to proactively try to perform a read without waiting for a read ready event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |