public interface PersistentOutboundConnection
ClientTransaction.getPersistentOutboundConnection()
after receiving a response on a persistent connection, for example after receiving the
response to the initial REGISTER.
The activity emits the events ConnectionDownEvent
and ConnectionUpEvent
when
the underlying TCP connection fails or is restored.
Modifier and Type | Method and Description |
---|---|
Endpoint |
getPeer()
Get the remote endpoint of this connection
|
boolean |
isInService()
Determine if the connection is in service, that is, the connection is up and available for sending requests.
|
boolean |
isTerminated()
Determine if the connection has been closed permanently.
|
Endpoint getPeer()
boolean isInService()
boolean isTerminated()