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