public class Client extends Object
CallHandler,
Server| Constructor and Description |
|---|
Client(String address,
int port,
CallHandler callHandler) |
Client(String address,
int port,
CallHandler callHandler,
IProtocolFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientListener(IClientListener listener) |
void |
close() |
Object |
getGlobal(Class<?> clazz) |
void |
removeClientListener(IClientListener listener) |
public Client(String address, int port, CallHandler callHandler) throws IOException
IOExceptionpublic Client(String address, int port, CallHandler callHandler, IProtocolFilter filter) throws IOException
IOExceptionpublic void addClientListener(IClientListener listener)
public void removeClientListener(IClientListener listener)
public void close()
throws IOException
IOExceptionCopyright © 2015. All rights reserved.