org.nakedobjects.remoting.server
Class ServerConnectionDefault

java.lang.Object
  extended by org.nakedobjects.remoting.server.ServerConnectionDefault
All Implemented Interfaces:
ServerConnection

public class ServerConnectionDefault
extends java.lang.Object
implements ServerConnection


Constructor Summary
ServerConnectionDefault(ServerFacade server, ServerMarshaller serverMarshaller)
           
 
Method Summary
 ServerFacade getServerFacade()
           
protected  ServerMarshaller getServerMarshaller()
           
 Request readRequest()
           
 void sendError(NakedObjectException exception)
           
 void sendResponse(java.lang.Object response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerConnectionDefault

public ServerConnectionDefault(ServerFacade server,
                               ServerMarshaller serverMarshaller)
Method Detail

getServerFacade

public ServerFacade getServerFacade()
Specified by:
getServerFacade in interface ServerConnection

getServerMarshaller

protected ServerMarshaller getServerMarshaller()

readRequest

public Request readRequest()
                    throws java.io.IOException
Specified by:
readRequest in interface ServerConnection
Throws:
java.io.IOException

sendResponse

public void sendResponse(java.lang.Object response)
                  throws java.io.IOException
Specified by:
sendResponse in interface ServerConnection
Throws:
java.io.IOException

sendError

public void sendError(NakedObjectException exception)
               throws java.io.IOException
Specified by:
sendError in interface ServerConnection
Throws:
java.io.IOException


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