com.latencybusters.lbm
Class LBMTransportSourceInfo

java.lang.Object
  extended by com.latencybusters.lbm.LBMTransportSourceInfo

public class LBMTransportSourceInfo
extends java.lang.Object

UM Transport Source Info class. Holds source information that is passed up as part of the source cost callback function. 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.

Please note that the topic index field (topic_idx) may or may not be present depending on your version of UM and/or the setting for configuration option source_includes_topic_index.


Field Summary
static int TRANSPORT_TYPE_LBTIPC
          Transport type: LBT-IPC transport.
static int TRANSPORT_TYPE_LBTRDMA
          Transport type: LBT-RDMA transport.
static int TRANSPORT_TYPE_LBTRM
          Transport type: LBT-RM transport.
static int TRANSPORT_TYPE_LBTRU
          Transport type: LBT-RU transport.
static int TRANSPORT_TYPE_TCP
          Transport type: TCP transport.
 
Method Summary
 int getDestPort()
          Destination port.
 long getMCGroup()
          Multicast group.
 long getSessionId()
          Session ID.
 long getSrcIp()
          Source IP address.
 int getSrcPort()
          Source port.
 long getTopicIdx()
          Topic index.
 long getTransportId()
          Transport ID.
 int getType()
          Type of transport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSPORT_TYPE_TCP

public static final int TRANSPORT_TYPE_TCP
Transport type: TCP transport.

See Also:
Constant Field Values

TRANSPORT_TYPE_LBTRM

public static final int TRANSPORT_TYPE_LBTRM
Transport type: LBT-RM transport.

See Also:
Constant Field Values

TRANSPORT_TYPE_LBTRU

public static final int TRANSPORT_TYPE_LBTRU
Transport type: LBT-RU transport.

See Also:
Constant Field Values

TRANSPORT_TYPE_LBTIPC

public static final int TRANSPORT_TYPE_LBTIPC
Transport type: LBT-IPC transport.

See Also:
Constant Field Values

TRANSPORT_TYPE_LBTRDMA

public static final int TRANSPORT_TYPE_LBTRDMA
Transport type: LBT-RDMA transport.

See Also:
Constant Field Values
Method Detail

getType

public int getType()
Type of transport

Returns:
The type of transport

getSrcIp

public long getSrcIp()
Source IP address. Applicable only to LBT-RM, LBT-RU, TCP, and LBT-RDMA. Stored in network order.

Returns:
The source ip address

getSrcPort

public int getSrcPort()
Source port. Applicable only to LBT-RM, LBT-RU, TCP, and LBT-RDMA. Stored in host order.

Returns:
The source port

getDestPort

public int getDestPort()
Destination port. Applicable only to LBT-RM. Stored in host order.

Returns:
The destination port

getMCGroup

public long getMCGroup()
Multicast group. Applicable only to LBT-RM. Stored in network order.

Returns:
The multicast group

getTransportId

public long getTransportId()
Transport ID. Applicable only to LBT-IPC. Stored in host order.

Returns:
The transport id

getSessionId

public long getSessionId()
Session ID. Applicable only to LBT-RM, LBT-RU, and LBT-IPC. Stored in host order.

Returns:
The session id

getTopicIdx

public long getTopicIdx()
Topic index. Applicable to all transports. Stored in host order.

Returns:
The topic index


All of the documentation and software included in this and any other Informatica Inc "Ultra Messaging" Release is Copyright (C) 2004-2014, Informatica Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted only as covered by the terms of a valid software license agreement with 29West Inc. Copyright © 2004-2014, Informatica, Inc. All Rights Reserved.