public class RDPServerSocket
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static int |
defaultReceiveBufferSize |
protected int |
port |
Constructor and Description |
---|
RDPServerSocket() |
Modifier and Type | Method and Description |
---|---|
void |
bind() |
void |
bind(int port)
listens for new connections on this local port.
|
void |
bind(java.lang.Integer port) |
void |
bind(java.lang.Integer port,
int receiveBufferSize) |
java.nio.channels.DatagramChannel |
getDatagramChannel() |
int |
getPort()
returns the port number for this socket.
|
void |
registerAcceptCallback(ClientConnection.AcceptCallback cb) |
protected int port
protected static int defaultReceiveBufferSize
public void bind() throws java.net.BindException, java.io.IOException
java.net.BindException
java.io.IOException
public void bind(int port) throws java.net.BindException, java.io.IOException
java.net.BindException
java.io.IOException
public void bind(java.lang.Integer port) throws java.net.BindException, java.io.IOException
java.net.BindException
java.io.IOException
public void bind(java.lang.Integer port, int receiveBufferSize) throws java.net.BindException, java.io.IOException
java.net.BindException
java.io.IOException
public void registerAcceptCallback(ClientConnection.AcceptCallback cb)
public int getPort()
public java.nio.channels.DatagramChannel getDatagramChannel()