Host/port of the local side of a client connection.
Host/port of the local side of a client connection.
Expose a Future
that is satisfied when the connection is closed.
Expose a Future
that is satisfied when the connection is closed.
Replaces the current PushSession
, directing inbound events to the new session.
Replaces the current PushSession
, directing inbound events to the new session.
other than no longer receiving inbound messages, the previous session is still active and it is the responsibility of the caller to release any resources held by the previous session.
,It is unsafe to register a new session from outside of serial executor and to do so will result in undefined behavior.
Host/port of the client.
Host/port of the client.
Write a message to the underlying IO pipeline.
Write a message to the underlying IO pipeline.
the provided continuation is guaranteed to be executed later, meaning
that this method call will return before onComplete
is run.
Write multiple messages to the underlying IO pipeline.
Write multiple messages to the underlying IO pipeline.
the provided continuation is guaranteed to be executed later, meaning
that this method call will return before onComplete
is run.
Write a collection of messages to the underlying IO pipeline.
Write a collection of messages to the underlying IO pipeline.
Any errors in writing result in closing the pipeline and are propagated through
the onClose
Future (provided it has not yet resolved).
Write a message to the underlying IO pipeline.
Write a message to the underlying IO pipeline.
Any errors in writing result in closing the pipeline and are propagated
through the onClose
Future (provided it has not yet resolved).
Single threaded executor meaning that every computation is run sequentially and provides a happens-before relationship with respect to every other computation executed by the Executor.
Single threaded executor meaning that every computation is run sequentially and provides
a happens-before relationship with respect to every other computation executed by the
Executor. Messages from the pipeline are guaranteed to be processed in this Executor
.
SSL/TLS session information associated with the push channel handle.
SSL/TLS session information associated with the push channel handle.
If SSL/TLS is not being used a NullSslSessionInfo
will be returned instead.
The status of this transport; see com.twitter.finagle.Status for status definitions.
The status of this transport; see com.twitter.finagle.Status for status definitions.
Base proxy implementation for PushChannelHandle
Implementations should override methods as appropriate.