org.nakedobjects.remoting.server
Interface ServerConnection

All Known Implementing Classes:
ServerConnectionDefault

public interface ServerConnection

Acts as the mediator between the ServerMarshaller (which pulls stuff off the transport and pushes stuff on) and the ServerFacade, ie the rest of the Naked Objects System.

See Also:
ClientConnection

Method Summary
 ServerFacade getServerFacade()
           
 Request readRequest()
           
 void sendError(NakedObjectException exception)
           
 void sendResponse(java.lang.Object response)
           
 

Method Detail

getServerFacade

ServerFacade getServerFacade()

readRequest

Request readRequest()
                    throws java.io.IOException
Throws:
java.io.IOException

sendResponse

void sendResponse(java.lang.Object response)
                  throws java.io.IOException
Throws:
java.io.IOException

sendError

void sendError(NakedObjectException exception)
               throws java.io.IOException
Throws:
java.io.IOException


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