Control Surface API  1.1.11
RemoteSocket Interface Reference

Public Member Functions

void setClientConnectCallback (Callable callback)
int getPort ()

Detailed Description

Instances of this interface represent a TCP socket that other network clients can connect to, typically created by calling Host#createRemoteConnection.

See also:
Host#createRemoteConnection
Since:
Bitwig Studio 1.0

Definition at line 12 of file RemoteSocket.java.


Member Function Documentation

int getPort ( )

Gets the actual port used for the remote socket, which might differ from the originally requested port when calling Host#createRemoteConnection(String name, int port) in case the requested port was already used.

Returns:
the actual port used for the remote socket
Since:
Bitwig Studio 1.0
void setClientConnectCallback ( Callable  callback)

Sets a callback which receives a remote connection object for each incoming connection.

Parameters:
callbacka callback function which receives a single RemoteConnection argument
Since:
Bitwig Studio 1.0

List of all members.


The documentation for this interface was generated from the following file:
 All Classes Functions Variables