MicroTAPAS
Class RequestResult

java.lang.Object
  |
  +--MicroTAPAS.RequestResult
All Implemented Interfaces:
java.io.Serializable

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

All TAPAS operation returns this unified result object

See Also:
Serialized Form

Field Summary
 GAI actor
          Mobility
static int FAIL
          Result of the operation is FAIL
 java.util.Hashtable hashtable
          Generic Hashtable to carry load back to the sender of the request
 long ID
          Unique identifier
 boolean isConnected
           
 Node node
           
static int OK
          Result of the operation is OK
 boolean removed
          After ActorPlugOut, true if the specified RoleSession was allowed to be removed
 CapabilitySet resCaps
          The current set of capabilities at plugged in actor
 java.lang.String resultCause
          Cause of the result of the operation
 int resultType
          Result of the operation
 RoleSession roleSession
          After ActorPlugIn, the freshly created RoleSession with the identifiers of the plugged in actors
 java.lang.String string
          Generic String to carry load back to the sender of the request
 java.lang.String subscribeIdentifier
          After SubscribeRequest, the unique subscription identifier
 java.util.Vector vector
          Generic vector to carry load back to the sender of the request
 
Constructor Summary
RequestResult(int pResultType, java.lang.String pResultCause, long id)
          Constructor to fill data field values
RequestResult(long id)
          Instance that indicates result OK
RequestResult(java.lang.String pResultCause, long id)
          Instance that indicates result FAIL, with specified cause given
 
Method Summary
 boolean isOK()
           
 java.lang.String toString()
          Overloaded toString method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OK

public static final int OK
Result of the operation is OK

See Also:
Constant Field Values

FAIL

public static final int FAIL
Result of the operation is FAIL

See Also:
Constant Field Values

resultType

public int resultType
Result of the operation


resultCause

public java.lang.String resultCause
Cause of the result of the operation


roleSession

public RoleSession roleSession
After ActorPlugIn, the freshly created RoleSession with the identifiers of the plugged in actors


resCaps

public CapabilitySet resCaps
The current set of capabilities at plugged in actor


removed

public boolean removed
After ActorPlugOut, true if the specified RoleSession was allowed to be removed


subscribeIdentifier

public java.lang.String subscribeIdentifier
After SubscribeRequest, the unique subscription identifier


ID

public long ID
Unique identifier


string

public java.lang.String string
Generic String to carry load back to the sender of the request


vector

public java.util.Vector vector
Generic vector to carry load back to the sender of the request


hashtable

public java.util.Hashtable hashtable
Generic Hashtable to carry load back to the sender of the request


actor

public GAI actor
Mobility


isConnected

public boolean isConnected

node

public Node node
Constructor Detail

RequestResult

public RequestResult(int pResultType,
                     java.lang.String pResultCause,
                     long id)
Constructor to fill data field values


RequestResult

public RequestResult(long id)
Instance that indicates result OK


RequestResult

public RequestResult(java.lang.String pResultCause,
                     long id)
Instance that indicates result FAIL, with specified cause given

Method Detail

isOK

public boolean isOK()

toString

public java.lang.String toString()
Overloaded toString method

Overrides:
toString in class java.lang.Object


The Telematics Architecture for Plug-and-Play Systems (TAPAS) is a research project undertaken by the Norwegian University of Science and Technology's Telematics department which aims at developing an architecture for network-based service systems with a) flexibility and adaptability, b) robustness and survivability, and c) QoS awareness and resource control.

More information can be found at the project's homepage at http://tapas.item.ntnu.no and the project manager, Professor Finn Arve Aagesen, can be reached at finn.arve.aagesen@item.ntnu.no.