public interface ChannelOperationsId
Modifier and Type | Method and Description |
---|---|
String |
asLongText()
The long string is a combination of the id of the underlying connection, local and remote addresses,
and in case of HTTP, the serial number of the request received on that connection.
|
String |
asShortText()
The short string is a combination of the id of the underlying connection
and in case of HTTP, the serial number of the request received on that connection.
|
String asShortText()
Format of the short string:
<CONNECTION_ID>-<REQUEST_NUMBER>
Example:
<CONNECTION_ID>: 329c6ffd
<REQUEST_NUMBER>: 5
Result: 329c6ffd-5
String asLongText()
Format of the long string:
<CONNECTION_ID>-<REQUEST_NUMBER>, L:<LOCAL_ADDRESS> <CONNECTION_OPENED_CLOSED> R:<REMOTE_ADDRESS>
Example:
Opened connection
<CONNECTION_ID>: 329c6ffd
<REQUEST_NUMBER>: 5
<LOCAL_ADDRESS>: /0:0:0:0:0:0:0:1:64286
<CONNECTION_OPENED_CLOSED>: - (opened)
<REMOTE_ADDRESS>: /0:0:0:0:0:0:0:1:64284
Result: 329c6ffd-5, L:/0:0:0:0:0:0:0:1:64286 - R:/0:0:0:0:0:0:0:1:64284
Closed connection
<CONNECTION_ID>: 329c6ffd
<REQUEST_NUMBER>: 5
<LOCAL_ADDRESS>: /0:0:0:0:0:0:0:1:64286
<CONNECTION_OPENED_CLOSED>: ! (closed)
<REMOTE_ADDRESS>: /0:0:0:0:0:0:0:1:64284
Result: 329c6ffd-5, L:/0:0:0:0:0:0:0:1:64286 ! R:/0:0:0:0:0:0:0:1:64284