|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.link.LnkEvents
public final class LnkEvents
Class containing link event definitions.
This class contains event type and associated structure definitions for events applicable to all link implementations.
Nested Class Summary | |
---|---|
static class |
LnkEvents.ConnectAcceptCompleteEventData
Data object for the EVENT_CONNECT_COMPLETE and the
EVENT_ACCEPT_COMPLETE event types. |
static class |
LnkEvents.ContinuousAcceptCompleteEventData
Data object for the EVENT_CONTINUOUS_ACCEPT_COMPLETE event. |
static class |
LnkEvents.ContinuousConnectCompleteEventData
Data object for the EVENT_CONTINUOUS_CONNECT_COMPLETE event. |
Field Summary | |
---|---|
static short |
COMMON_BEGIN
Event type block allocations start here |
static short |
COMMON_MAX_COUNT
|
static int |
EVENT_ACCEPT_COMPLETE
Indicates the completion of a link accept request. |
static int |
EVENT_CLOSURE
Indicates the completion of the closure of a link connection. |
static int |
EVENT_CONNECT_COMPLETE
Indicates the completion of a link connect request. |
static int |
EVENT_CONTINUOUS_ACCEPT_COMPLETE
Indicates the completion of a link continuous accept request. |
static int |
EVENT_CONTINUOUS_CONNECT_COMPLETE
Indicates the completion of a link continuous connect request. |
static int |
EVENT_FAILURE
Indicates the failure of a link connection. |
static int |
EVENT_FLUSH_COMPLETE
Indicates the completion of an asynchronous endpoint flush. |
static int |
EVENT_MESSAGE
Indicates the receipt of a message. |
static int |
EVENT_MESSAGE_LIST
Indicates the receipt of a message list. |
static int |
EVENT_PACKET
Indicates the receipt of a packet. |
static int |
EVENT_PACKET_LIST
Indicates the receipt of a packet list. |
static int |
EVENT_REQUEST_COMPLETE
Indicates the receipt of all replies for a request in a request-reply exchange. |
static short |
FABRIC_BEGIN
|
static short |
FABRIC_MAX_COUNT
|
static short |
FUC_BEGIN
|
static short |
FUC_MAX_COUNT
|
static short |
LOCAL_BEGIN
|
static short |
LOCAL_MAX_COUNT
|
static short |
MULTI_BEGIN
|
static short |
MULTI_MAX_COUNT
|
static short |
NETWORK_BEGIN
|
static short |
NETWORK_MAX_COUNT
|
static short |
SERVER_BEGIN
|
static short |
SERVER_MAX_COUNT
|
Constructor Summary | |
---|---|
LnkEvents()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short COMMON_BEGIN
public static final short COMMON_MAX_COUNT
public static final short LOCAL_BEGIN
public static final short LOCAL_MAX_COUNT
public static final short NETWORK_BEGIN
public static final short NETWORK_MAX_COUNT
public static final short MULTI_BEGIN
public static final short MULTI_MAX_COUNT
public static final short FABRIC_BEGIN
public static final short FABRIC_MAX_COUNT
public static final short FUC_BEGIN
public static final short FUC_MAX_COUNT
public static final short SERVER_BEGIN
public static final short SERVER_MAX_COUNT
public static final int EVENT_CONNECT_COMPLETE
This event is dispatched by a link client endpoint upon completion of
a connection establishment request. The event data for this event is
an object of type LnkEvents.ConnectAcceptCompleteEventData
public static final int EVENT_ACCEPT_COMPLETE
This event is dispatched by a link server endpoint upon acceptance of
a connection request from a client endpoint. The event data for this
event is an object of type LnkEvents.ConnectAcceptCompleteEventData
public static final int EVENT_CONTINUOUS_CONNECT_COMPLETE
This event is dispatched by a link continuous connector upon completion
of a connection establishment request. The event data for this event is
an object of type LnkEvents.ContinuousConnectCompleteEventData
public static final int EVENT_CONTINUOUS_ACCEPT_COMPLETE
This event is dispatched by a link continuous acceptor upon acceptance
of an connection request from a client endpoint. The event data for this
event is an object of type LnkEvents.ContinuousAcceptCompleteEventData
public static final int EVENT_PACKET
This event is dispatched by a link peer endpoint upon receipt of a
packet. The event data for this event is an object of type
PktPacket
PktPacket.dispose()
when
done with the packet, the peer endpoint passes ownership to the handler.
public static final int EVENT_PACKET_LIST
This event is dispatched by a link peer endpoint upon receipt of a
set of packets. The event data for this event is an object of type
UtlList
with each element of the list of type PktPacket
PktPacket.dispose()
when
done with the packets, the peer endpoint passes ownership to the handler.
public static final int EVENT_FLUSH_COMPLETE
This event is dispatched by a link peer endpoint upon completion of
an asynchronousl flush. The event data for this event is an object of
type ILnkPeerEndpoint.AsynchronousFlushContext
public static final int EVENT_FAILURE
This event is dispatched by a link peer endpoint upon when it has
detected that the remote peer endpoint is no longer reachable. The
event data for this event is an object of type Exception
public static final int EVENT_CLOSURE
This event is reserved for private use between LnkPeerEndpoint
and the link type endpoint implementation that is wraps. This event
is never dispatched to the user of a peer endpoint.
public static final int EVENT_REQUEST_COMPLETE
This event is dispatched by a link sender to indicate to the caller that
all replies for a pipelined request have been received. The event data for
this event is an object of type LnkRequest
public static final int EVENT_MESSAGE
This event is dispatched by a link peer endpoint upon receipt of a
packet that has been converted to a message via a registered message
factory. The event data for this event is an object of type
ILnkMessage
public static final int EVENT_MESSAGE_LIST
This event is dispatched by a link peer endpoint upon receipt of a
set of contiguous packets converted to a set of messages. The event
data for this event is an object of type UtlList
with each
element of the list of type ILnkMessage
Constructor Detail |
---|
public LnkEvents()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |