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()
Deprecated.
Use IO subsystem worker configuration
|
T |
workerReadThreads(Integer value)
Deprecated.
Use IO subsystem worker configuration
|
Integer |
workerTaskCoreThreads()
Deprecated.
Use IO subsystem worker configuration
|
T |
workerTaskCoreThreads(Integer value)
Deprecated.
Use IO subsystem worker configuration
|
Integer |
workerTaskKeepalive()
Deprecated.
Use IO subsystem worker configuration
|
T |
workerTaskKeepalive(Integer value)
Deprecated.
Use IO subsystem worker configuration
|
Integer |
workerTaskLimit()
Deprecated.
Use IO subsystem worker configuration
|
T |
workerTaskLimit(Integer value)
Deprecated.
Use IO subsystem worker configuration
|
Integer |
workerTaskMaxThreads()
Deprecated.
Use IO subsystem worker configuration
|
T |
workerTaskMaxThreads(Integer value)
Deprecated.
Use IO subsystem worker configuration
|
Integer |
workerWriteThreads()
Deprecated.
Use IO subsystem worker configuration
|
T |
workerWriteThreads(Integer value)
Deprecated.
Use IO subsystem worker configuration
|
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()
@Deprecated public Integer workerReadThreads()
@Deprecated public T workerReadThreads(Integer value)
@Deprecated public Integer workerTaskCoreThreads()
@Deprecated public T workerTaskCoreThreads(Integer value)
@Deprecated public Integer workerTaskKeepalive()
@Deprecated public T workerTaskKeepalive(Integer value)
@Deprecated public Integer workerTaskLimit()
@Deprecated public T workerTaskLimit(Integer value)
@Deprecated public Integer workerTaskMaxThreads()
@Deprecated public T workerTaskMaxThreads(Integer value)
@Deprecated public Integer workerWriteThreads()
@Deprecated public T workerWriteThreads(Integer value)
Copyright © 2020 JBoss by Red Hat. All rights reserved.