ostore.client
Class OSRegisterAppResult

java.lang.Object
  |
  +--ostore.client.OSResult
        |
        +--ostore.client.OSRegisterAppResult
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class OSRegisterAppResult
extends OSResult

The OSRegisterAppResult is sent by the ClientStage to the application in response to a OSRegisterAppRequest. This result includes the nonce from the originating request to allow an application to match the result corresponding to its request. The result also includes the application identifier OSAppId which the application should include with all future requests.

Version:
$Id: OSRegisterAppResult.java,v 1.10 2003/04/04 11:15:01 hweather Exp $
Author:
Patrick R. Eaton
See Also:
OSRegisterAppRequest

Field Summary
 
Fields inherited from class ostore.client.OSResult
app_id
 
Constructor Summary
OSRegisterAppResult(InputBuffer buffer)
           
 
Method Summary
 long getNonce()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class ostore.client.OSResult
getAppId, getReqSeqNum, getUserTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OSRegisterAppResult

public OSRegisterAppResult(InputBuffer buffer)
                    throws QSException
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Description copied from interface: QuickSerializable
Add the object to the buffer.

Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class OSResult
Parameters:
buffer - the output buffer to add the object to

getNonce

public long getNonce()

toString

public String toString()
Overrides:
toString in class Object