public static final class EConfigure.RemoteConnection extends Object implements Comparable<EConfigure.RemoteConnection>
EConfigure.ConnectionType.
true, means that
the connection is re-established if lost.
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
address()
Returns the remote eBus socket address.
|
int |
bindPort()
Returns the connection bind port.
|
ByteOrder |
byteOrder()
Returns the socket buffer byte ordering.
|
int |
compareTo(EConfigure.RemoteConnection conn)
Compares
this remote connection configuration
with conn. |
EConfigure.ConnectionType |
connectionType()
Returns the target channel type.
|
boolean |
equals(Object o)
Returns
true if o is a
non-null RemoteConnection instance
with the same name; false otherwise. |
int |
hashCode()
Returns the remote connection address hash code.
|
long |
heartbeatDelay()
Returns the heartbeat delay in milliseconds.
|
long |
heartbeatReplyDelay()
Returns the heartbeat reply delay.
|
int |
inputBufferSize()
Returns the socket input buffer size.
|
int |
messageQueueSize()
Returns the maximum number of messages on the
output queue.
|
String |
name()
Returns the remote connection unique name.
|
int |
outputBufferSize()
Returns the socket output buffer size.
|
boolean |
reconnectFlag()
Returns
true if connection is to be
re-established when lost. |
long |
reconnectTime()
Returns the reconnect delay.
|
String |
selector()
Returns the selector information to which this
connection is registered.
|
SSLContext |
sslContext()
Returns the SSL context used for a secure connection
type.
|
String |
toString()
Returns a text representation for this remote
connection.
|
public int compareTo(EConfigure.RemoteConnection conn)
this remote connection configuration
with conn.compareTo in interface Comparable<EConfigure.RemoteConnection>conn - compare with this object.this instance is less
than conn; zero if this instance is
equal to conn; > zero if this is
greater than conn.public boolean equals(Object o)
true if o is a
non-null RemoteConnection instance
with the same name; false otherwise.public int hashCode()
public String toString()
public String name()
public EConfigure.ConnectionType connectionType()
public InetSocketAddress address()
public int bindPort()
public int inputBufferSize()
public int outputBufferSize()
public ByteOrder byteOrder()
public int messageQueueSize()
public String selector()
public boolean reconnectFlag()
true if connection is to be
re-established when lost.true if connection is to be
re-established when lost.public long reconnectTime()
public long heartbeatDelay()
public long heartbeatReplyDelay()
public SSLContext sslContext()
null if connection type is
not EConfigure.ConnectionType.SECURE_TCP.null.Copyright © 2019. All rights reserved.