Interface ConsumerInfo
-
- All Known Subinterfaces:
ServerConsumer
- All Known Implementing Classes:
ServerConsumerImpl
public interface ConsumerInfo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetConnectionClientID()StringgetConnectionLocalAddress()Returns a string representation of the local address this connection is connected to.StringgetConnectionProtocolName()Returns the name of the protocol for this Remoting ConnectionStringgetConnectionRemoteAddress()Returns a string representation of the remote address this connection is connected to.SimpleStringgetFilterString()SimpleStringgetQueueAddress()SimpleStringgetQueueName()RoutingTypegetQueueType()longgetSequentialID()an unique sequential ID for this consumerStringgetSessionName()
-
-
-
Method Detail
-
getSequentialID
long getSequentialID()
an unique sequential ID for this consumer
-
getQueueName
SimpleString getQueueName()
- Returns:
- name of the queue that is being consumed
-
getQueueType
RoutingType getQueueType()
- Returns:
- routing type of the queue that is being consumed
-
getQueueAddress
SimpleString getQueueAddress()
- Returns:
- address of the queue that is being consumed
-
getFilterString
SimpleString getFilterString()
-
getSessionName
String getSessionName()
-
getConnectionClientID
String getConnectionClientID()
-
getConnectionProtocolName
String getConnectionProtocolName()
Returns the name of the protocol for this Remoting Connection- Returns:
- the name of protocol
-
getConnectionLocalAddress
String getConnectionLocalAddress()
Returns a string representation of the local address this connection is connected to. This is useful when the server is configured at 0.0.0.0 (or multiple IPs). This will give you the actual IP that's being used.- Returns:
- the local address
-
getConnectionRemoteAddress
String getConnectionRemoteAddress()
Returns a string representation of the remote address this connection is connected to.- Returns:
- the remote address
-
-