Package | Description |
---|---|
rsb.transport.socket |
Contains the implementation of the TCP socket transport.
|
Modifier and Type | Class and Description |
---|---|
class |
BusBase
A utility base class for the implementation of the
Bus interface. |
class |
BusClient
A
Bus implementation which acts as a client to an existing server
implementation. |
class |
BusServer
Instances of this class provide access to a socket-based bus for remote bus
clients.
|
class |
RefCountingBus
A reference counting decorator for
Bus instances. |
Modifier and Type | Method and Description |
---|---|
Bus |
BusCache.get(SocketOptions options)
Returns a
Bus instance for the given options or null
if no such instance is cached. |
Bus |
SocketConnectorUtility.getBus()
Returns the underlying bus instance when called after
SocketConnectorUtility.activate()
. |
Bus |
RefCountingBus.getContainedBus()
Returns the underlying bus that is handled with reference counting.
|
Modifier and Type | Method and Description |
---|---|
void |
BusCache.register(Bus bus)
Registers a new bus instance in the cache.
|
void |
BusCache.register(Bus bus,
boolean replace)
Registers a new bus instance in the cache and allows overriding existing
instances.
|
void |
BusCache.unregister(Bus bus)
Removes a bus from the cache if it was present.
|
Constructor and Description |
---|
RefCountingBus(Bus bus,
RefCountingBus.DeactivationHandler handler)
Constructor.
|
Copyright © 2018 CoR-Lab. All rights reserved.