T - the underlying data type decoded by the netty pipeline and returned to the associated
callback.public interface NettySocketServer<T> extends Runnable
| Modifier and Type | Method and Description |
|---|---|
void |
addListeningAddress(org.thales.punch.settings.api.ISettingsMap address)
Add a listening socket to this server thread.
|
boolean |
isStopped() |
void |
run()
Effectively runs the server.
|
NettySocketServer<T> |
setCallback(INettyReaderCallback<T> callback) |
void |
stop()
Stop the server.
|
void run()
stop() is made.NettySocketServer<T> setCallback(INettyReaderCallback<T> callback)
callback - your data callbackvoid stop()
boolean isStopped()
void addListeningAddress(org.thales.punch.settings.api.ISettingsMap address)
address - the host port address.Copyright © 2023. All rights reserved.