public class Server extends Object
ConnectionHandler.CallHandler,
Client| Constructor and Description |
|---|
Server() |
| Modifier and Type | Method and Description |
|---|---|
void |
addServerListener(IServerListener listener) |
void |
bind(int port,
CallHandler callHandler) |
void |
bind(int port,
CallHandler callHandler,
IProtocolFilter filter) |
void |
close() |
void |
removeServerListener(IServerListener listener) |
public void addServerListener(IServerListener listener)
public void removeServerListener(IServerListener listener)
public void close()
public void bind(int port,
CallHandler callHandler)
throws IOException
IOExceptionpublic void bind(int port,
CallHandler callHandler,
IProtocolFilter filter)
throws IOException
IOExceptionCopyright © 2015. All rights reserved.