org.nakedobjects.remoting.exchange
Class ResponseEnvelope

java.lang.Object
  extended by org.nakedobjects.remoting.exchange.ResponseEnvelope
All Implemented Interfaces:
java.io.Serializable, Encodable

public class ResponseEnvelope
extends java.lang.Object
implements Encodable, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ResponseEnvelope(DataInputExtended input)
           
ResponseEnvelope(Request request)
           
 
Method Summary
 void encode(DataOutputExtended output)
           
 int getId()
           
 java.lang.Object getObject()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResponseEnvelope

public ResponseEnvelope(Request request)

ResponseEnvelope

public ResponseEnvelope(DataInputExtended input)
                 throws java.io.IOException
Throws:
java.io.IOException
Method Detail

encode

public void encode(DataOutputExtended output)
            throws java.io.IOException
Specified by:
encode in interface Encodable
Throws:
java.io.IOException

getId

public int getId()

getObject

public java.lang.Object getObject()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.