Package | Description |
---|---|
rsb.transport.socket |
Contains the implementation of the TCP socket transport.
|
Modifier and Type | Class and Description |
---|---|
class |
BusClientConnection
Instances of this class implement connections to a socket-based bus in the
form of a client.
|
class |
BusConnectionBase
Utility base class for the implementation of the
BusConnection
interface. |
class |
BusServerConnection
Instances of this class implement connections to a socket-based bus in the
form of a server.
|
Modifier and Type | Method and Description |
---|---|
protected BusBase.ReceiveThread |
BusBase.addConnection(BusConnection con)
Registers a connection for the dispatching logic in
BusBase.handleGlobally(rsb.protocol.NotificationType.Notification) and
creates a new instance of a thread receiving notifications from this
connection. |
protected void |
BusBase.handleGlobally(NotificationType.Notification notification,
BusConnection ignoreConnection)
Dispatches the notification to registered connections.
|
abstract void |
BusBase.handleIncoming(NotificationType.Notification notification,
BusConnection sourceConnection)
Implement this method to specify the behavior in case of an incoming
notification received from a connection.
|
void |
BusServer.handleIncoming(NotificationType.Notification notification,
BusConnection sourceConnection) |
void |
BusClient.handleIncoming(NotificationType.Notification notification,
BusConnection source) |
protected BusBase.ReceiveThread |
BusBase.removeConnection(BusConnection con)
Removes a connection from the dispatching logic.
|
Constructor and Description |
---|
BusBase.ReceiveThread(BusConnection connection)
Constructs a new instance operating on the specified connection
instance.
|
Copyright © 2018 CoR-Lab. All rights reserved.