@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 once initial connection has been established so that the proxy can open
its channel and send the meta-data to its peer.
|
void sendClientProxyMetadata(ClientSession session) throws Exception
session - The ClientSession instance - Note: at this stage
the client's identification line is not set yet.Exception - If failed to initialize the proxy - which will also
terminate the sessionSEND_IMMEDIATE_IDENTIFICATIONCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.