|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.matching.integer.IntegerProfile
public class IntegerProfile
An INTEGER profile is stored in this class. The profile includes information regarding the integer meeting the client is interested in, and the destination associated with this.
| Field Summary |
|---|
| Fields inherited from interface cgl.narada.matching.integer.IntegerMatchingDebugFlags |
|---|
ClientIntegerMatching_Debug, IntegerMatching_Debug |
| Constructor Summary | |
|---|---|
IntegerProfile(byte[] integerProfileBytes)
This method serves to unmarshall a integerProfile stream received over the link. |
|
IntegerProfile(Integer subscription,
int destinations,
String profileId)
A IntegerProfile is comprised of both the subscription as well as the destination of the unit/super-unit that has expressed an interest in it. |
|
| Method Summary | |
|---|---|
byte[] |
getBytes()
This method returns the integerProfile as a stream of bytes, the unmarshalling counterpart to this marshalling scheme is contained within one of the IntegerProfile constructors |
int |
getDestination()
This method returns the destinations assocaited with the subscription. |
String |
getProfileId()
|
int |
getProfileType()
|
Object |
getSubscription()
This method returns the subscription associated with the integerProfile. |
static void |
main(String[] args)
|
String |
toString()
Provides a string representation of the integerProfile instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IntegerProfile(Integer subscription,
int destinations,
String profileId)
subscription - The integer subscriptiondestinations - The hierarchial destinations associated with this
integerProfilepublic IntegerProfile(byte[] integerProfileBytes)
integerProfileBytes - The marshalled stream of integerProfile bytes
that are received over a link.| Method Detail |
|---|
public Object getSubscription()
getSubscription in interface Profilepublic int getDestination()
getDestination in interface Profilepublic String getProfileId()
getProfileId in interface Profilepublic int getProfileType()
getProfileType in interface Profilepublic byte[] getBytes()
getBytes in interface Profilepublic String toString()
toString in interface ProfiletoString in class Objectpublic static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||