org.nakedobjects.remoting.protocol.encoding
Class EncodingMarshaller

java.lang.Object
  extended by org.nakedobjects.remoting.protocol.MarshallerAbstract
      extended by org.nakedobjects.remoting.protocol.encoding.EncodingMarshaller
All Implemented Interfaces:
ApplicationScopedComponent, Component, ClientMarshaller, Marshaller, ServerMarshaller

public class EncodingMarshaller
extends MarshallerAbstract


Constructor Summary
EncodingMarshaller(NakedObjectConfiguration configuration, Transport transport)
           
 
Method Summary
 void connect()
           
 void init()
           
 Request readRequest()
           
 java.lang.Object request(Request request)
           
 void sendError(NakedObjectException exception)
           
 void sendResponse(java.lang.Object response)
           
 
Methods inherited from class org.nakedobjects.remoting.protocol.MarshallerAbstract
disconnect, getConfiguration, getTransport, isKeepAlive, reconnect, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncodingMarshaller

public EncodingMarshaller(NakedObjectConfiguration configuration,
                          Transport transport)
Method Detail

init

public void init()
Specified by:
init in interface ApplicationScopedComponent
Overrides:
init in class MarshallerAbstract

connect

public void connect()
             throws java.io.IOException
Specified by:
connect in interface ClientMarshaller
Overrides:
connect in class MarshallerAbstract
Throws:
java.io.IOException

request

public java.lang.Object request(Request request)
                         throws java.io.IOException
Throws:
java.io.IOException

readRequest

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

sendResponse

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

sendError

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


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