Class that is passed to the source cost callback with source transport information.

C# |
public class LBMTransportSourceInfo

All Members | Methods | Fields | |||
Icon | Member | Description |
---|---|---|
![]() | getDestPort()()() |
Destination port. Applicable only to LBT-RM. Stored in host order.
|
![]() | getMCGroup()()() |
Multicast group. Applicable only to LBT-RM. Stored in network order.
|
![]() | getSessionId()()() |
Session ID. Applicable only to LBT-RM, LBT-RU, and LBT-IPC. Stored in host order.
|
![]() | getSrcIp()()() |
Source IP address. Applicable only to LBT-RM, LBT-RU, TCP, and LBT-RDMA. Stored in network order.
|
![]() | getSrcPort()()() |
Source port. Applicable only to LBT-RM, LBT-RU, TCP, and LBT-RDMA. Stored in host order.
|
![]() | getTopicIdx()()() |
Topic index. Applicable to all transports. Stored in host order.
|
![]() | getTransportId()()() |
Transport ID. Applicable only to LBT-IPC. Stored in host order.
|
![]() | getType()()() |
Type of transport
|
![]() ![]() | TRANSPORT_TYPE_LBTIPC |
Transport type: LBT-IPC transport.
|
![]() ![]() | TRANSPORT_TYPE_LBTRDMA |
Transport type: LBT-RDMA transport.
|
![]() ![]() | TRANSPORT_TYPE_LBTRM |
Transport type: LBT-RM transport.
|
![]() ![]() | TRANSPORT_TYPE_LBTRU |
Transport type: LBT-RU transport.
|
![]() ![]() | TRANSPORT_TYPE_TCP |
Transport type: TCP transport.
|

These members are used to format and/or parse transport source strings.
The format of these strings depends mainly on the transport type, as shown below.
-
TCP:src_ip:src_port[topic_idx]
example: TCP:192.168.0.4:45789[1539853954]
-
LBTRM:src_ip:src_port:session_id:mc_group:dest_port[topic_idx]
example: LBTRM:10.29.3.88:14390:e0679abb:231.13.13.13:14400[1539853954]
-
LBT-RU:src_ip:src_port:session_id[topic_idx] (session_id optional, per configuration
example: LBT-RU:192.168.3.189:34678[1539853954]
-
LBT-IPC:session_id:transport_id[topic_idx]
example: LBT-IPC:6481f8d4:20000[1539853954]
-
LBT-RDMA:src_ip:src_port:session_id[topic_idx]
example: LBT-RDMA:192.168.3.189:34678:6471e9c4[1539853954]

Object | |
![]() | LBMTransportSourceInfo |