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