mx4j.tools.remote.caucho

Interface CauchoInput

public interface CauchoInput

Version:
$

Method Summary

void
completeCall()
void
completeReply()
String
readHeader()
String
readMethod()
Object
readObject(Class cls)
Reads and returns an object of the given class, or a generic object if the class is null.
void
startCall()
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 readObject(Class).

Method Details

completeCall

public void completeCall()
            throws IOException

completeReply

public void completeReply()
            throws IOException

readHeader

public String readHeader()
            throws IOException

readMethod

public String readMethod()
            throws IOException

readObject

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

startCall

public void startCall()
            throws IOException

startReply

public void startReply()
            throws Exception

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.