|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.resilientedge.jockey.peerbridge.SimpSockApplication
Represents a Application on the network
Field Summary | |
protected static int |
nextAppId_
|
protected static int |
NO_APPLICATION_ID
|
Method Summary | |
int |
compareTo(java.lang.Object other)
Returns zero if the other app is the same as this app. |
boolean |
equals(java.lang.Object other)
Indicates whether some other object is "equal to" this application. |
AppDescriptor |
getAppDescriptor()
Return the application descriptor. |
java.lang.String |
getAppId()
Return the application id. |
Authority[] |
getAuthorities()
Return the authorities given to this application by the creator. |
void |
setAppId(java.lang.String id)
Set the id for this application. |
AppToken |
toAppToken()
Return a copy of this object translated to a client side token. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final int NO_APPLICATION_ID
protected static int nextAppId_
Method Detail |
public java.lang.String getAppId()
getAppId
in interface PBApplication
public void setAppId(java.lang.String id)
setAppId
in interface PBApplication
id
- the application idpublic AppDescriptor getAppDescriptor()
getAppDescriptor
in interface PBApplication
public Authority[] getAuthorities()
getAuthorities
in interface PBApplication
public AppToken toAppToken()
toAppToken
in interface PBApplication
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
other
- app to comparepublic boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- object to compare
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |