public static final class EConfigure.RemoteConnection extends EConfigure.AbstractConfig implements Comparable<EConfigure.RemoteConnection>
EConfigure.ConnectionType.
true, means that
the connection is re-established if lost.
mByteOrder, mCanPause, mConnectionType, mHbDelay, mHbReplyDelay, mInputBufferSize, mMsgQueueSize, mName, mOutputBufferSize, mPauseConfig, mSSLContext| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
address()
Returns the remote eBus socket address.
|
int |
bindPort()
Returns the connection bind port.
|
int |
compareTo(EConfigure.RemoteConnection conn)
Compares
this remote connection configuration
with conn. |
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.
|
ProtocolFamily |
protocol() |
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.
|
String |
toString()
Returns a text representation for this remote
connection.
|
byteOrder, canPause, connectionType, heartbeatDelay, heartbeatReplyDelay, inputBufferSize, messageQueueSize, name, outputBufferSize, pauseConfiguration, sslContextpublic 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 InetSocketAddress address()
public int bindPort()
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 ProtocolFamily protocol()
Copyright © 2020. All rights reserved.