public static final class EConfigure.Service extends Object implements Comparable<EConfigure.Service>
EConfigure.ConnectionType.
address filter.
| Modifier and Type | Method and Description |
|---|---|
AddressFilter |
addressFilter()
Returns the address filter.
|
ByteOrder |
byteOrder()
Returns the accepted connection buffer byte ordering.
|
int |
compareTo(EConfigure.Service service)
Compares this service configuration with
service based on the service ports. |
String |
connectionSelector()
Returns the selector information to which accepted
connections are registered.
|
EConfigure.ConnectionType |
connectionType()
Returns the accepted channel type.
|
boolean |
equals(Object o)
Returns
true if o is a Service
instance with the same port and false
otherwise. |
int |
hashCode()
Returns the service port.
|
long |
heartbeatDelay()
Returns the heartbeat delay in milliseconds.
|
long |
heartbeatReplyDelay()
Returns the heartbeat reply delay.
|
int |
inputBufferSize()
Returns the accepted connection 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 accepted connection output buffer size.
|
int |
port()
Returns the service port.
|
String |
serviceSelector()
Returns the selector information to which the service
socket channel is registered.
|
SSLContext |
sslContext()
Returns the SSL context used for a secure connection
type.
|
String |
toString()
Returns a text representation of this eBus service.
|
public int compareTo(EConfigure.Service service)
service based on the service ports.compareTo in interface Comparable<EConfigure.Service>service - compare this service instance.public boolean equals(Object o)
true if o is a Service
instance with the same port and false
otherwise.public int hashCode()
public String toString()
public String name()
public EConfigure.ConnectionType connectionType()
public int port()
public AddressFilter addressFilter()
nul.public int inputBufferSize()
public int outputBufferSize()
public ByteOrder byteOrder()
public int messageQueueSize()
public String serviceSelector()
public String connectionSelector()
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.