public class ComboxAllocateSocket extends ComboxAllocate<ComboxRawSocket>
| Modifier and Type | Field and Description |
|---|---|
protected java.net.ServerSocket |
serverSocket |
combox| Constructor and Description |
|---|
ComboxAllocateSocket(boolean enableUPNP)
Create a new instance of the ComboxAllocateSocket
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(int connectionID)
Close the current connection
|
java.lang.String |
getUrl()
Get URL of this socket
|
void |
startToAcceptOneConnection()
Start the socket and wait for a connection
|
isComboxConnected, receivepublic ComboxAllocateSocket(boolean enableUPNP)
public void startToAcceptOneConnection()
startToAcceptOneConnection in class ComboxAllocate<ComboxRawSocket>public java.lang.String getUrl()
getUrl in class ComboxAllocate<ComboxRawSocket>public void close(int connectionID)
close in class ComboxAllocate<ComboxRawSocket>