PaP
Class SubscribeRequest

java.lang.Object
  |
  +--PaP.SubscribeRequest
All Implemented Interfaces:
java.io.Serializable

public class SubscribeRequest
extends java.lang.Object
implements java.io.Serializable

This class specifies the request for subscription interface between the subscription clients and the Subscribe service provider.

See Also:
Serialized Form

Field Summary
static int ActorBehaviourPlaugOut
           
static int ActorBehaviourPlugIn
           
static int ActorCapabilities
           
static int ActorChangeBehaviour
           
static int ActorCreate
           
static int ActorPlay
           
static int ActorPlugIn
           
static int ActorPlugOut
           
static int ActorRemove
           
 java.lang.String[] applType
          The set of applications that shall be reported.
 int[] eventTypes
          The set of event types that shall be reported. null means all.
static int Immediately
           
static int Periodically
           
static int PlayChangesPlugIn
           
static int PlayPlugIn
           
static int PlayPlugOut
           
 GAI requestor
          Address to client that request for the service, and where the reports will be sent
static int RoleSessionAction
           
static int RoleSessionCreate
           
static int RoleSessionRemove
           
static java.lang.String[] RT
           
 GAI[] scope
          The set of addresses that shall be reported.
static int SpecifiedTime
           
static int SubscribeCancel
           
static int SubscribeReport
           
static int SubscribeRequest
           
static int WhenCancel
           
 int whenType
          Specifies when reports shall be given.
 java.lang.String whenValue
          see 'whenType'.
 
Constructor Summary
SubscribeRequest(GAI rq, int[] et, GAI[] adr, java.lang.String[] at, int wt, java.lang.String vv)
          Build subscription request.
 
Method Summary
 java.lang.String toString()
          Convert to textual representation of SubscribeRequest object.
static java.lang.String toString(SubscribeRequest obj)
          Convert to textual representation of SubscribeRequest object.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

requestor

public GAI requestor
Address to client that request for the service, and where the reports will be sent

eventTypes

public int[] eventTypes
The set of event types that shall be reported. null means all.

PlayPlugIn

public static final int PlayPlugIn

PlayChangesPlugIn

public static final int PlayChangesPlugIn

PlayPlugOut

public static final int PlayPlugOut

ActorPlugIn

public static final int ActorPlugIn

ActorPlugOut

public static final int ActorPlugOut

ActorBehaviourPlugIn

public static final int ActorBehaviourPlugIn

ActorChangeBehaviour

public static final int ActorChangeBehaviour

ActorBehaviourPlaugOut

public static final int ActorBehaviourPlaugOut

ActorPlay

public static final int ActorPlay

SubscribeRequest

public static final int SubscribeRequest

SubscribeReport

public static final int SubscribeReport

SubscribeCancel

public static final int SubscribeCancel

RoleSessionAction

public static final int RoleSessionAction

ActorCapabilities

public static final int ActorCapabilities

ActorCreate

public static final int ActorCreate

ActorRemove

public static final int ActorRemove

RoleSessionCreate

public static final int RoleSessionCreate

RoleSessionRemove

public static final int RoleSessionRemove

RT

public static java.lang.String[] RT

scope

public GAI[] scope
The set of addresses that shall be reported. May be partially specified. null means all.

applType

public java.lang.String[] applType
The set of applications that shall be reported. Not defined yet how this shall be applied

whenType

public int whenType
Specifies when reports shall be given. Immediately: Report when event occur, Periodically: Report periodically with periode specified by 'whenValue' in seconds., SpecifiedTime: Report once, and at specified time specified by 'whenValue' WhenCancel: Report once, when cancel of subscription

Immediately

public static final int Immediately

Periodically

public static final int Periodically

SpecifiedTime

public static final int SpecifiedTime

WhenCancel

public static final int WhenCancel

whenValue

public java.lang.String whenValue
see 'whenType'.
Constructor Detail

SubscribeRequest

public SubscribeRequest(GAI rq,
                        int[] et,
                        GAI[] adr,
                        java.lang.String[] at,
                        int wt,
                        java.lang.String vv)
Build subscription request.
Parameters:
rq - Address to client that request for the service, and where the reports will be sent.
et - Those that is defined in class 'RequestPars'. The set of addresses that shall be reported. May be partially specified. null means all.
adr - The set of applications that shall be reported. Not defined yet how this shall be applied.
wt - Specifies when reports shall be given (see 'whenType').
vv - Specifies time periode or exact time for report (se 'whenType').
Method Detail

toString

public java.lang.String toString()
Convert to textual representation of SubscribeRequest object.
Overrides:
toString in class java.lang.Object
Returns:
Textual representation of object

toString

public static java.lang.String toString(SubscribeRequest obj)
Convert to textual representation of SubscribeRequest object.
Parameters:
obj - SubscribeRequest object - if existing
Returns:
Textual representation of object