public class SimpleClientNetty extends ClientNetty<String>
| Constructor and Description |
|---|
SimpleClientNetty(io.netty.bootstrap.Bootstrap clientBootstrap)
Create a new instance of a client.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildMessage(String message) |
protected void |
connectionComplete() |
DecoderEncoder |
getCodec() |
close, connect, disconnect, sendMessage, sendMessage, setTimeOutaddNetworkListener, connect, connectionFailed, connectionLost, connectionSuccessful, delayMessageToNextFrame, isConnected, messageReceived, updatepublic SimpleClientNetty(io.netty.bootstrap.Bootstrap clientBootstrap)
clientBootstrap - Netty bootstrap object.protected void connectionComplete()
connectionComplete in class ClientNetty<String>protected String buildMessage(String message)
buildMessage in class ClientNetty<String>public DecoderEncoder getCodec()
getCodec in class ClientNetty<String>Copyright © 2014–2016. All rights reserved.