protected abstract static class ProxyProtocolClientConnectionFactory.ProxyProtocolConnection extends AbstractConnection implements Callback
Callback.Completable, Callback.Completing, Callback.InvocableCallback, Callback.NestedInvocable.InvocationTypeConnection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
LOG |
__nonBlocking| Modifier and Type | Method and Description |
|---|---|
void |
failed(java.lang.Throwable x)
Callback invoked when the operation fails.
|
Invocable.InvocationType |
getInvocationType() |
void |
onFillable()
Callback method invoked when the endpoint is ready to be read.
|
void |
onOpen()
Callback method invoked when this connection is opened.
|
void |
succeeded()
Callback invoked when the operation completes.
|
protected abstract void |
writePROXYBytes(EndPoint endPoint,
Callback callback) |
addListener, close, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeListener, setInputBufferSize, toConnectionString, toString, tryFillInterested, tryFillInterestedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcombine, from, from, from, from, from, fromcombine, getInvocationType, invokeNonBlocking, isNonBlockingInvocationprotected static final Logger LOG
public void onOpen()
ConnectionCallback method invoked when this connection is opened.
Creators of the connection implementation are responsible for calling this method.
onOpen in interface ConnectiononOpen in class AbstractConnectionpublic void succeeded()
CallbackCallback invoked when the operation completes.
succeeded in interface CallbackCallback.failed(Throwable)public void failed(java.lang.Throwable x)
CallbackCallback invoked when the operation fails.
public Invocable.InvocationType getInvocationType()
getInvocationType in interface Invocablepublic void onFillable()
AbstractConnectionCallback method invoked when the endpoint is ready to be read.
onFillable in class AbstractConnectionAbstractConnection.fillInterested()Copyright © 1995–2021 Webtide. All rights reserved.