@FunctionalInterface
public interface ClientProxyConnector
IoSession#write(Buffer)
method
to send any packets with the meta-data.Modifier and Type | Method and Description |
---|---|
void |
sendClientProxyMetadata(ClientSession session)
Invoked just before the client identification is sent so that the
proxy can send the meta-data to its peer.
|
void sendClientProxyMetadata(ClientSession session) throws java.lang.Exception
session
- The ClientSession
instancejava.lang.Exception
- If failed to send the data - which will also
terminate the session