org.nakedobjects.remoting.server
Class ServerConnectionDefault
java.lang.Object
org.nakedobjects.remoting.server.ServerConnectionDefault
- All Implemented Interfaces:
- ServerConnection
public class ServerConnectionDefault
- extends java.lang.Object
- implements ServerConnection
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerConnectionDefault
public ServerConnectionDefault(ServerFacade server,
ServerMarshaller serverMarshaller)
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.