Package com.webmethods.jms.protocol
Class Subscription
- java.lang.Object
-
- com.webmethods.jms.protocol.Subscription
-
public class Subscription extends java.lang.Object
This class represents a subscription from the Broker's perspective.
-
-
Constructor Summary
Constructors Constructor Description Subscription​(int subID, java.lang.String name, java.lang.String filter)
Create a Broker subscription representation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFilter()
Get the subscription filter.java.lang.String
getName()
Get the subscription name (event type name).int
getSubID()
Get the subscription ID.
-
-
-
Method Detail
-
getSubID
public int getSubID()
Get the subscription ID.- Returns:
- the subscription ID
-
getName
public java.lang.String getName()
Get the subscription name (event type name).- Returns:
- the subscription name
-
getFilter
public java.lang.String getFilter()
Get the subscription filter.- Returns:
- the subscription filter
-
-