public interface Client
Modifier and Type | Method and Description |
---|---|
void |
close()
Close client
|
void |
connect()
Connect the client
|
void |
destroy()
Destroys clients.
|
ClientState |
getClientState()
Gets client state.
|
void |
init()
Inits the client.
|
void |
setClientStateListener(ClientStateListener clientStateListener)
Sets state listener.
|
void |
setEventListener(EventListener eventListener)
Sets event listener.
|
void setEventListener(EventListener eventListener)
eventListener
- the event listenervoid setClientStateListener(ClientStateListener clientStateListener)
clientStateListener
- the client state listenerClientState getClientState()
void init()
void connect()
void close()
void destroy()
Copyright © 2000–2022 EPAM Systems. All rights reserved.