BusServerConnection¶
-
public class
BusServerConnection
extends BusConnectionBase¶ Instances of this class implement connections to a socket-based bus in the form of a server. The basic operations provided by this class are receiving an event notifications by calling receiveNotification and submitting an event to the bus by calling sendNotification. This class implements the fundamental RSB protocol for socket connections, e.g., the basic handshaking and the encoding/decoding of data packages for event notifications.
- Author
swrede
- See also: <a
href=”http://docs.cor-lab.de/rsb-manual/trunk/html/specification-socket.html”>RSB Specification for Socket Transport</a>
Constructors¶
BusServerConnection¶
-
public
BusServerConnection
(Socket socket, boolean tcpNoDelay)¶ Constructs a new server.
- Parameters
socket – socket to use for the server side. This is usually the result of calling
java.net.ServerSocket.accept()
.tcpNoDelay – if
true
, configure the socket to use tcp no delay