public class BusServerConnection extends BusConnectionBase
Activatable.State
Constructor and Description |
---|
BusServerConnection(Socket socket,
boolean tcpNoDelay)
Constructs a new server.
|
Modifier and Type | Method and Description |
---|---|
protected void |
handshake()
Performs the handshake step of the protocol.
|
activate, deactivate, getOptions, getReader, getSocket, getWriter, isActive, isActiveShutdown, readLength, readNotification, sendNotification, setOptions, setSocket, shutdown
close
public BusServerConnection(Socket socket, boolean tcpNoDelay)
socket
- socket to use for the server side. This is usually the result
of calling ServerSocket.accept()
.tcpNoDelay
- if true
, configure the socket to use tcp no delayprotected void handshake() throws RSBException
BusConnectionBase
handshake
in class BusConnectionBase
RSBException
- error during handshakeCopyright © 2018 CoR-Lab. All rights reserved.