- com
- softwareag
- um
- modules
- transport
- ServerSHMTransportContext
Constructed using the ServerSHMTransportContext.Builder. More...
Public Member Functions | |
int | getBufferSize () |
Get the buffer size in bytes that will be used by ServerTransports created using this ServerTransportContext. More... | |
String | getFilePath () |
Get the path that will be used by ServerTransports created using this context. More... | |
int | getTimeout () |
The time in ms that the SHM Transport will wait for information before timing out a connection. More... | |
boolean | supportsAsync () |
This ServerTransportContext does not currently support Async which means that an exception will be thrown if you try to create an AsynchronousServerTransport using the TransportFactory.bind variant which takes callback objects. More... | |
Constructed using the ServerSHMTransportContext.Builder.
All information must be set on the Builder so that when this object is built, it is validated. It is used to create Transport objects using TransportFactory.connect. Communication on the transport is transmitted using Shared Memory.
int com.softwareag.um.modules.transport.ServerSHMTransportContext.getBufferSize | ( | ) |
Get the buffer size in bytes that will be used by ServerTransports created using this ServerTransportContext.
String com.softwareag.um.modules.transport.ServerSHMTransportContext.getFilePath | ( | ) |
Get the path that will be used by ServerTransports created using this context.
The path is used to store the memory mapped files required for shared memory communication.
int com.softwareag.um.modules.transport.ServerSHMTransportContext.getTimeout | ( | ) |
The time in ms that the SHM Transport will wait for information before timing out a connection.
|
virtual |
This ServerTransportContext does not currently support Async which means that an exception will be thrown if you try to create an AsynchronousServerTransport using the TransportFactory.bind variant which takes callback objects.
Implements com.softwareag.um.modules.transport.TransportContext.