public abstract static class EConfigure.AbstractConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ByteOrder |
mByteOrder
The input and output buffer use this byte ordering.
|
protected boolean |
mCanPause
Set to
true if accepted connections may be
paused. |
protected EConfigure.ConnectionType |
mConnectionType
The connections are of this type.
|
protected long |
mHbDelay
Send a heartbeat this many milliseconds after the
last received input.
|
protected long |
mHbReplyDelay
Wait this many milliseconds for a heartbeat reply.
|
protected int |
mInputBufferSize
Input buffer size.
|
protected int |
mMsgQueueSize
Maximum message queue size.
|
protected String |
mName
eBus local name.
|
protected int |
mOutputBufferSize
Output buffer size.
|
protected EConfigure.PauseConfig |
mPauseConfig
If
mCanPause is true, then the pause
configuration is defined. |
protected SSLContext |
mSSLContext
If
mConnectionType is
EConfigure.ConnectionType.SECURE_TCP, then this is the
SSL context used to secure the connection. |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractConfig(EConfigure.AbstractBuilder<?> builder)
Constructs the common information for service and
remote connections.
|
| Modifier and Type | Method and Description |
|---|---|
ByteOrder |
byteOrder()
Returns connection buffer byte ordering.
|
boolean |
canPause()
Returns
true if pause requests are accepted
and false if not. |
EConfigure.ConnectionType |
connectionType()
Returns the channel type.
|
long |
heartbeatDelay()
Returns the heartbeat delay in milliseconds.
|
long |
heartbeatReplyDelay()
Returns the heartbeat reply delay.
|
int |
inputBufferSize()
Returns the 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 connection output buffer size.
|
EConfigure.PauseConfig |
pauseConfiguration()
Returns the connection pause configuration.
|
SSLContext |
sslContext()
Returns the SSL context used for a secure connection
type.
|
protected final String mName
protected final EConfigure.ConnectionType mConnectionType
protected final int mInputBufferSize
protected final int mOutputBufferSize
protected final ByteOrder mByteOrder
protected final int mMsgQueueSize
protected final long mHbDelay
protected final long mHbReplyDelay
protected final SSLContext mSSLContext
mConnectionType is
EConfigure.ConnectionType.SECURE_TCP, then this is the
SSL context used to secure the connection.protected final boolean mCanPause
true if accepted connections may be
paused.protected final EConfigure.PauseConfig mPauseConfig
protected AbstractConfig(EConfigure.AbstractBuilder<?> builder)
builder - connection builder.public final String name()
public final EConfigure.ConnectionType connectionType()
public final int inputBufferSize()
public final int outputBufferSize()
public final ByteOrder byteOrder()
public final int messageQueueSize()
public final long heartbeatDelay()
public final long heartbeatReplyDelay()
public final SSLContext sslContext()
null if connection type is
not EConfigure.ConnectionType.SECURE_TCP.null.public final boolean canPause()
true if pause requests are accepted
and false if not.true if accepted connections may be
paused.public final EConfigure.PauseConfig pauseConfiguration()
Copyright © 2019. All rights reserved.