com.neeve.client
Class ClientEvents

java.lang.Object
  extended by com.neeve.client.ClientEvents

public class ClientEvents
extends Object

Class containing client event definitions.

This class contains event type and associated structure definitions for events applicable to all client implementations.


Nested Class Summary
static class ClientEvents.CongestionEventData
          Data object for the EVENT_CONGESTION event.
static class ClientEvents.FailEventData
          Data object for the EVENT_FAILURE event.
 
Field Summary
static short ADMIN_BEGIN
           
static short ADMIN_MAX_COUNT
           
static short COMMON_BEGIN
          Event type block allocations start here
static short COMMON_MAX_COUNT
           
static int EVENT_CONGESTION
          Indicates flow congestion.
static int EVENT_FAILURE
          Indicates that the client has failed.
static short GENERIC_BEGIN
           
static short GENERIC_MAX_COUNT
           
static short HSPACE_BEGIN
           
static short HSPACE_MAX_COUNT
           
static short PERF_BEGIN
           
static short PERF_MAX_COUNT
           
static short ROUTER_BEGIN
           
static short ROUTER_MAX_COUNT
           
 
Constructor Summary
ClientEvents()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMON_BEGIN

public static final short COMMON_BEGIN
Event type block allocations start here

See Also:
Constant Field Values

COMMON_MAX_COUNT

public static final short COMMON_MAX_COUNT
See Also:
Constant Field Values

GENERIC_BEGIN

public static final short GENERIC_BEGIN
See Also:
Constant Field Values

GENERIC_MAX_COUNT

public static final short GENERIC_MAX_COUNT
See Also:
Constant Field Values

PERF_BEGIN

public static final short PERF_BEGIN
See Also:
Constant Field Values

PERF_MAX_COUNT

public static final short PERF_MAX_COUNT
See Also:
Constant Field Values

ROUTER_BEGIN

public static final short ROUTER_BEGIN
See Also:
Constant Field Values

ROUTER_MAX_COUNT

public static final short ROUTER_MAX_COUNT
See Also:
Constant Field Values

HSPACE_BEGIN

public static final short HSPACE_BEGIN
See Also:
Constant Field Values

HSPACE_MAX_COUNT

public static final short HSPACE_MAX_COUNT
See Also:
Constant Field Values

ADMIN_BEGIN

public static final short ADMIN_BEGIN
See Also:
Constant Field Values

ADMIN_MAX_COUNT

public static final short ADMIN_MAX_COUNT
See Also:
Constant Field Values

EVENT_CONGESTION

public static final int EVENT_CONGESTION
Indicates flow congestion.

See Also:
Constant Field Values
Threading:
This event can be dispatched in any event of the clients choosing.

This event is dispatched when a client's connection pool reports congestion.

The event data object for this event is ClientEvents.CongestionEventData.


EVENT_FAILURE

public static final int EVENT_FAILURE
Indicates that the client has failed.

See Also:
Constant Field Values
Threading:
This event can be dispatched in any thread of the clients choosing.

This event is dispatched when a client's connection pool reports failure.

The event data object for this event is ClientEvents.FailEventData.

Constructor Detail

ClientEvents

public ClientEvents()


Copyright © 2015 Neeve Research, LLC. All Rights Reserved.