org.resilientedge.jockey.peerbridge
Interface PBApplication

All Superinterfaces:
java.lang.Comparable
All Known Implementing Classes:
LoopbackApplication, SimpSockApplication

public interface PBApplication
extends java.lang.Comparable

Represents an application in a specific peer network framework.

Version:
$Revision: 1.1.1.1 $
Author:
John Gardner

Method Summary
 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 representation of this object as a client side token.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getAppId

public java.lang.String getAppId()
Return the application id.
Returns:
application id

setAppId

public void setAppId(java.lang.String id)
Set the id for this application.
Parameters:
id - the application id

getAppDescriptor

public AppDescriptor getAppDescriptor()
Return the application descriptor.
Returns:
application descriptor

getAuthorities

public Authority[] getAuthorities()
Return the authorities given to this application by the creator.
Returns:
array of authorities

toAppToken

public AppToken toAppToken()
Return a representation of this object as a client side token.
Returns:
a PI AppToken


Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.