|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.matching.jms.JmsProfile
public class JmsProfile
An JMS profile is stored in this class. The profile includes information regarding the jms meeting the client is interested in, and the destination associated with this.
| Field Summary |
|---|
| Fields inherited from interface cgl.narada.matching.jms.JmsMatchingDebugFlags |
|---|
ClientJmsMatching_Debug, JmsMatching_Debug, JmsProfile_Debug |
| Constructor Summary | |
|---|---|
JmsProfile(byte[] jmsProfileBytes)
This method serves to unmarshall a jmsProfile stream received over the link. |
|
JmsProfile(String subscription,
int destinations)
A JmsProfile is comprised of both the subscription as well as the destination of the unit/super-unit that has expressed an interest in it. |
|
JmsProfile(String subscription,
String brokerDestination,
int destinations)
|
|
| Method Summary | |
|---|---|
boolean |
equals(JmsProfile _jmsProfile)
Compares two objects for equality. |
String |
getBrokerDestination()
|
byte[] |
getBytes()
This method returns the jmsProfile as a stream of bytes, the unmarshalling counterpart to this marshalling scheme is contained within one of the JmsProfile constructors |
int |
getDestination()
This method returns the destinations assocaited with the subscription. |
String |
getProfileId()
|
String |
getSubscription()
This method returns the subscription associated with the jmsProfile. |
int |
hashCode()
Generates a hash code for the receiver. |
static void |
main(String[] args)
|
String |
toString()
Provides a string representation of the jmsProfile instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JmsProfile(String subscription,
int destinations)
subscription - The jms subscriptiondestinations - The hierarchial destinations associated with this
jmsProfile
public JmsProfile(String subscription,
String brokerDestination,
int destinations)
public JmsProfile(byte[] jmsProfileBytes)
jmsProfileBytes - The marshalled stream of jmsProfile bytes that are
received over a link.| Method Detail |
|---|
public String getSubscription()
public int getDestination()
public String getBrokerDestination()
public String getProfileId()
public boolean equals(JmsProfile _jmsProfile)
_jmsProfile - the Object to compare with
Hashtablepublic int hashCode()
hashCode in class Objectpublic byte[] getBytes()
public String toString()
toString in class Objectpublic static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||