Class SimpleClientChannel<T>
java.lang.Object
pt.unl.fct.di.novasys.channel.base.SingleThreadedChannel<T,Y>
pt.unl.fct.di.novasys.channel.base.SingleThreadedClientChannel<T,T>
pt.unl.fct.di.novasys.channel.simpleclientserver.SimpleClientChannel<T>
- All Implemented Interfaces:
IChannel<T>
,MessageListener<T>
,OutConnListener<T>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSimpleClientChannel
(ISerializer<T> serializer, ChannelListener<T> list, Properties properties) -
Method Summary
Methods inherited from class pt.unl.fct.di.novasys.channel.base.SingleThreadedClientChannel
outboundConnectionDown, outboundConnectionFailed, outboundConnectionUp
Methods inherited from class pt.unl.fct.di.novasys.channel.base.SingleThreadedChannel
closeConnection, deliverMessage, openConnection, sendMessage
-
Field Details
-
SIMPLE_CLIENT_MAGIC_NUMBER
public static final short SIMPLE_CLIENT_MAGIC_NUMBER- See Also:
-
NAME
- See Also:
-
ADDRESS_KEY
- See Also:
-
PORT_KEY
- See Also:
-
WORKER_GROUP_KEY
- See Also:
-
HEARTBEAT_INTERVAL_KEY
- See Also:
-
HEARTBEAT_TOLERANCE_KEY
- See Also:
-
CONNECT_TIMEOUT_KEY
- See Also:
-
DEFAULT_PORT
- See Also:
-
DEFAULT_HB_INTERVAL
- See Also:
-
DEFAULT_HB_TOLERANCE
- See Also:
-
DEFAULT_CONNECT_TIMEOUT
- See Also:
-
-
Constructor Details
-
SimpleClientChannel
public SimpleClientChannel(ISerializer<T> serializer, ChannelListener<T> list, Properties properties) throws UnknownHostException - Throws:
UnknownHostException
-
-
Method Details
-
onDeliverMessage
-