mx4j.tools.remote.caucho

Interface CauchoInput

public interface CauchoInput

Version: $

Method Summary
voidcompleteCall()
voidcompleteReply()
StringreadHeader()
StringreadMethod()
ObjectreadObject(Class cls)
Reads and returns an object of the given class, or a generic object if the class is null.
voidstartCall()
voidstartReply()
Starts reading a reply of a previous call; if the call threw an exception, the exception is read and re-thrown, otherwise the result of the call can be read using CauchoInput.

Method Detail

completeCall

public void completeCall()

completeReply

public void completeReply()

readHeader

public String readHeader()

readMethod

public String readMethod()

readObject

public Object readObject(Class cls)
Reads and returns an object of the given class, or a generic object if the class is null.

startCall

public void startCall()

startReply

public void startReply()
Starts reading a reply of a previous call; if the call threw an exception, the exception is read and re-thrown, otherwise the result of the call can be read using CauchoInput.
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.