public class Remoting<T extends Remoting<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Remoting.RemotingResources
Child mutators for Remoting
|
Constructor and Description |
---|
Remoting() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Integer |
authenticationRetries()
Specify the number of times a client is allowed to retry authentication
before closing the connection.
|
T |
authenticationRetries(Integer value)
Specify the number of times a client is allowed to retry authentication
before closing the connection.
|
String |
authorizeId()
The SASL authorization ID.
|
T |
authorizeId(String value)
The SASL authorization ID.
|
String |
authRealm()
The authentication realm to use if no authentication CallbackHandler is
specified.
|
T |
authRealm(String value)
The authentication realm to use if no authentication CallbackHandler is
specified.
|
Integer |
bufferRegionSize()
The size of allocated buffer regions.
|
T |
bufferRegionSize(Integer value)
The size of allocated buffer regions.
|
T |
connector(Connector value)
Add the Connector object to the list of subresources
|
T |
connector(ConnectorSupplier supplier)
Install a supplied Connector object to the list of subresources
|
T |
connector(String childKey)
Create and configure a Connector object to the list of subresources
|
T |
connector(String childKey,
ConnectorConsumer consumer)
Create and configure a Connector object to the list of subresources
|
T |
connectors(List<Connector> value)
Add all Connector objects to this subresource
|
T |
endpointConfiguration()
Endpoint configuration
|
T |
endpointConfiguration(EndpointConfiguration value)
Endpoint configuration
|
T |
endpointConfiguration(EndpointConfigurationConsumer consumer)
Endpoint configuration
|
T |
endpointConfiguration(EndpointConfigurationSupplier supplier)
Endpoint configuration
|
String |
getKey() |
Integer |
heartbeatInterval()
The interval to use for connection heartbeat, in milliseconds.
|
T |
heartbeatInterval(Integer value)
The interval to use for connection heartbeat, in milliseconds.
|
T |
httpConnector(HTTPConnector value)
Add the HTTPConnector object to the list of subresources
|
T |
httpConnector(HTTPConnectorSupplier supplier)
Install a supplied HTTPConnector object to the list of subresources
|
T |
httpConnector(String childKey)
Create and configure a HTTPConnector object to the list of subresources
|
T |
httpConnector(String childKey,
HTTPConnectorConsumer consumer)
Create and configure a HTTPConnector object to the list of subresources
|
T |
httpConnectors(List<HTTPConnector> value)
Add all HTTPConnector objects to this subresource
|
T |
localOutboundConnection(LocalOutboundConnection value)
Add the LocalOutboundConnection object to the list of subresources
|
T |
localOutboundConnection(LocalOutboundConnectionSupplier supplier)
Install a supplied LocalOutboundConnection object to the list of
subresources
|
T |
localOutboundConnection(String childKey)
Create and configure a LocalOutboundConnection object to the list of
subresources
|
T |
localOutboundConnection(String childKey,
LocalOutboundConnectionConsumer consumer)
Create and configure a LocalOutboundConnection object to the list of
subresources
|
T |
localOutboundConnections(List<LocalOutboundConnection> value)
Add all LocalOutboundConnection objects to this subresource
|
Integer |
maxInboundChannels()
The maximum number of inbound channels to support for a connection.
|
T |
maxInboundChannels(Integer value)
The maximum number of inbound channels to support for a connection.
|
Integer |
maxInboundMessages()
The maximum number of concurrent inbound messages on a channel.
|
T |
maxInboundMessages(Integer value)
The maximum number of concurrent inbound messages on a channel.
|
Long |
maxInboundMessageSize()
The maximum inbound message size to be allowed.
|
T |
maxInboundMessageSize(Long value)
The maximum inbound message size to be allowed.
|
Integer |
maxOutboundChannels()
The maximum number of outbound channels to support for a connection.
|
T |
maxOutboundChannels(Integer value)
The maximum number of outbound channels to support for a connection.
|
Integer |
maxOutboundMessages()
The maximum number of concurrent outbound messages on a channel.
|
T |
maxOutboundMessages(Integer value)
The maximum number of concurrent outbound messages on a channel.
|
Long |
maxOutboundMessageSize()
The maximum outbound message size to send.
|
T |
maxOutboundMessageSize(Long value)
The maximum outbound message size to send.
|
T |
outboundConnection(OutboundConnection value)
Add the OutboundConnection object to the list of subresources
|
T |
outboundConnection(OutboundConnectionSupplier supplier)
Install a supplied OutboundConnection object to the list of subresources
|
T |
outboundConnection(String childKey)
Create and configure a OutboundConnection object to the list of
subresources
|
T |
outboundConnection(String childKey,
OutboundConnectionConsumer consumer)
Create and configure a OutboundConnection object to the list of
subresources
|
T |
outboundConnections(List<OutboundConnection> value)
Add all OutboundConnection objects to this subresource
|
Integer |
receiveBufferSize()
The size of the largest buffer that this endpoint will accept over a
connection.
|
T |
receiveBufferSize(Integer value)
The size of the largest buffer that this endpoint will accept over a
connection.
|
Integer |
receiveWindowSize()
The maximum window size of the receive direction for connection channels,
in bytes.
|
T |
receiveWindowSize(Integer value)
The maximum window size of the receive direction for connection channels,
in bytes.
|
T |
remoteOutboundConnection(RemoteOutboundConnection value)
Add the RemoteOutboundConnection object to the list of subresources
|
T |
remoteOutboundConnection(RemoteOutboundConnectionSupplier supplier)
Install a supplied RemoteOutboundConnection object to the list of
subresources
|
T |
remoteOutboundConnection(String childKey)
Create and configure a RemoteOutboundConnection object to the list of
subresources
|
T |
remoteOutboundConnection(String childKey,
RemoteOutboundConnectionConsumer consumer)
Create and configure a RemoteOutboundConnection object to the list of
subresources
|
T |
remoteOutboundConnections(List<RemoteOutboundConnection> value)
Add all RemoteOutboundConnection objects to this subresource
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
saslProtocol()
Where a SaslServer or SaslClient are created by default the protocol
specified it 'remoting', this can be used to override this.
|
T |
saslProtocol(String value)
Where a SaslServer or SaslClient are created by default the protocol
specified it 'remoting', this can be used to override this.
|
Integer |
sendBufferSize()
The size of the largest buffer that this endpoint will transmit over a
connection.
|
T |
sendBufferSize(Integer value)
The size of the largest buffer that this endpoint will transmit over a
connection.
|
String |
serverName()
The server side of the connection passes it's name to the client in the
initial greeting, by default the name is automatically discovered from
the local address of the connection or it can be overridden using this.
|
T |
serverName(String value)
The server side of the connection passes it's name to the client in the
initial greeting, by default the name is automatically discovered from
the local address of the connection or it can be overridden using this.
|
Remoting.RemotingResources |
subresources() |
Integer |
transmitWindowSize()
The maximum window size of the transmit direction for connection
channels, in bytes.
|
T |
transmitWindowSize(Integer value)
The maximum window size of the transmit direction for connection
channels, in bytes.
|
String |
worker()
Worker to use
|
T |
worker(String value)
Worker to use
|
Integer |
workerReadThreads()
The number of read threads to create for the remoting worker.
|
T |
workerReadThreads(Integer value)
The number of read threads to create for the remoting worker.
|
Integer |
workerTaskCoreThreads()
The number of core threads for the remoting worker task thread pool.
|
T |
workerTaskCoreThreads(Integer value)
The number of core threads for the remoting worker task thread pool.
|
Integer |
workerTaskKeepalive()
The number of milliseconds to keep non-core remoting worker task threads
alive.
|
T |
workerTaskKeepalive(Integer value)
The number of milliseconds to keep non-core remoting worker task threads
alive.
|
Integer |
workerTaskLimit()
The maximum number of remoting worker tasks to allow before rejecting.
|
T |
workerTaskLimit(Integer value)
The maximum number of remoting worker tasks to allow before rejecting.
|
Integer |
workerTaskMaxThreads()
The maximum number of threads for the remoting worker task thread pool.
|
T |
workerTaskMaxThreads(Integer value)
The maximum number of threads for the remoting worker task thread pool.
|
Integer |
workerWriteThreads()
The number of write threads to create for the remoting worker.
|
T |
workerWriteThreads(Integer value)
The number of write threads to create for the remoting worker.
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Remoting.RemotingResources subresources()
public T httpConnectors(List<HTTPConnector> value)
value
- List of HTTPConnector objects.public T httpConnector(HTTPConnector value)
value
- The HTTPConnector to addpublic T httpConnector(String childKey, HTTPConnectorConsumer consumer)
key
- The key for the HTTPConnector resourceconfig
- The HTTPConnectorConsumer to usepublic T httpConnector(String childKey)
key
- The key for the HTTPConnector resourcepublic T httpConnector(HTTPConnectorSupplier supplier)
public T connectors(List<Connector> value)
value
- List of Connector objects.public T connector(Connector value)
value
- The Connector to addpublic T connector(String childKey, ConnectorConsumer consumer)
key
- The key for the Connector resourceconfig
- The ConnectorConsumer to usepublic T connector(String childKey)
key
- The key for the Connector resourcepublic T connector(ConnectorSupplier supplier)
public T outboundConnections(List<OutboundConnection> value)
value
- List of OutboundConnection objects.public T outboundConnection(OutboundConnection value)
value
- The OutboundConnection to addpublic T outboundConnection(String childKey, OutboundConnectionConsumer consumer)
key
- The key for the OutboundConnection resourceconfig
- The OutboundConnectionConsumer to usepublic T outboundConnection(String childKey)
key
- The key for the OutboundConnection resourcepublic T outboundConnection(OutboundConnectionSupplier supplier)
public T localOutboundConnections(List<LocalOutboundConnection> value)
value
- List of LocalOutboundConnection objects.public T localOutboundConnection(LocalOutboundConnection value)
value
- The LocalOutboundConnection to addpublic T localOutboundConnection(String childKey, LocalOutboundConnectionConsumer consumer)
key
- The key for the LocalOutboundConnection resourceconfig
- The LocalOutboundConnectionConsumer to usepublic T localOutboundConnection(String childKey)
key
- The key for the LocalOutboundConnection resourcepublic T localOutboundConnection(LocalOutboundConnectionSupplier supplier)
public T remoteOutboundConnections(List<RemoteOutboundConnection> value)
value
- List of RemoteOutboundConnection objects.public T remoteOutboundConnection(RemoteOutboundConnection value)
value
- The RemoteOutboundConnection to addpublic T remoteOutboundConnection(String childKey, RemoteOutboundConnectionConsumer consumer)
key
- The key for the RemoteOutboundConnection resourceconfig
- The RemoteOutboundConnectionConsumer to usepublic T remoteOutboundConnection(String childKey)
key
- The key for the RemoteOutboundConnection resourcepublic T remoteOutboundConnection(RemoteOutboundConnectionSupplier supplier)
public T endpointConfiguration(EndpointConfiguration value)
public T endpointConfiguration(EndpointConfigurationConsumer consumer)
public T endpointConfiguration()
public T endpointConfiguration(EndpointConfigurationSupplier supplier)
public String authRealm()
public T authRealm(String value)
public Integer authenticationRetries()
public T authenticationRetries(Integer value)
public String authorizeId()
public T authorizeId(String value)
public Integer bufferRegionSize()
public Integer heartbeatInterval()
public T heartbeatInterval(Integer value)
public Integer maxInboundChannels()
public T maxInboundChannels(Integer value)
public Long maxInboundMessageSize()
public T maxInboundMessageSize(Long value)
public Integer maxInboundMessages()
public T maxInboundMessages(Integer value)
public Integer maxOutboundChannels()
public T maxOutboundChannels(Integer value)
public Long maxOutboundMessageSize()
public T maxOutboundMessageSize(Long value)
public Integer maxOutboundMessages()
public T maxOutboundMessages(Integer value)
public Integer receiveBufferSize()
public T receiveBufferSize(Integer value)
public Integer receiveWindowSize()
public T receiveWindowSize(Integer value)
public String saslProtocol()
public T saslProtocol(String value)
public Integer sendBufferSize()
public T sendBufferSize(Integer value)
public String serverName()
public T serverName(String value)
public Integer transmitWindowSize()
public T transmitWindowSize(Integer value)
public String worker()
public Integer workerReadThreads()
public T workerReadThreads(Integer value)
public Integer workerTaskCoreThreads()
public T workerTaskCoreThreads(Integer value)
public Integer workerTaskKeepalive()
public T workerTaskKeepalive(Integer value)
public Integer workerTaskLimit()
public T workerTaskLimit(Integer value)
public Integer workerTaskMaxThreads()
public T workerTaskMaxThreads(Integer value)
public Integer workerWriteThreads()
Copyright © 2019 JBoss by Red Hat. All rights reserved.