| Modifier and Type | Field and Description |
|---|---|
| private ServerSocketChannel | |
| private SocketChannel | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| serverSocket | back to summary |
|---|---|
| private ServerSocketChannel serverSocket | |
| socket | back to summary |
|---|---|
| private SocketChannel socket | |
| timeout | back to summary |
|---|---|
| private final int timeout | |
| TcpTransport | back to summary |
|---|---|
| pack-priv TcpTransport(BusAddress _address, int _timeout, TransportConfig _config) | |
| acceptImpl | back to summary |
|---|---|
| protected SocketChannel acceptImpl() throws IOException Implements abstract org. Doc from org. Method to accept new incoming listening connections.
| |
| bindImpl | back to summary |
|---|---|
| protected void bindImpl() throws IOException Implements abstract org. Listen for new connections using TCP.
| |
| closeTransport | back to summary |
|---|---|
| protected void closeTransport() throws IOException Implements abstract org. Doc from org. Method which is called to close a transport.
| |
| connectImpl | back to summary |
|---|---|
| public SocketChannel connectImpl() throws IOException Implements abstract org. Connect to DBus using TCP.
| |
| getAddress | back to summary |
|---|---|
| public TcpBusAddress getAddress() Overrides org. Doc from org. Returns the
| |
| hasFileDescriptorSupport | back to summary |
|---|---|
| protected boolean hasFileDescriptorSupport() Implements abstract org. Doc from org. Method to indicate if passing of file descriptors is allowed.
| |
| isBound | back to summary |
|---|---|
| protected boolean isBound() Implements abstract org. Doc from org. Status of the server socket if this transport is configured to be a server connection.
| |