public class BusClientConnection extends BusConnectionBase
Activatable.State
Constructor and Description |
---|
BusClientConnection(SocketOptions options)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates all resources that belong to a specific object.
|
protected void |
handshake()
Perform simple handshake as specified in RSB socket protocol.
|
deactivate, getOptions, getReader, getSocket, getWriter, isActive, isActiveShutdown, readLength, readNotification, sendNotification, setOptions, setSocket, shutdown
public BusClientConnection(SocketOptions options)
options
- socket options to use for the connectionpublic void activate() throws RSBException
Activatable
activate
in interface Activatable
activate
in class BusConnectionBase
RSBException
- generic error related to RSBprotected void handshake() throws RSBException
handshake
in class BusConnectionBase
RSBException
- error performing the handshake sequenceCopyright © 2018 CoR-Lab. All rights reserved.