org.nakedobjects.remoting.protocol
Class MarshallerAbstract

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

public abstract class MarshallerAbstract
extends java.lang.Object
implements ClientMarshaller, ServerMarshaller


Constructor Summary
MarshallerAbstract(NakedObjectConfiguration configuration, Transport transport)
           
 
Method Summary
 void connect()
           
 void disconnect()
           
 NakedObjectConfiguration getConfiguration()
           
 Transport getTransport()
           
 void init()
           
 boolean isKeepAlive()
           
protected  void reconnect()
          Not API.
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.remoting.protocol.ClientMarshaller
request
 
Methods inherited from interface org.nakedobjects.remoting.protocol.ServerMarshaller
readRequest, sendError, sendResponse
 

Constructor Detail

MarshallerAbstract

public MarshallerAbstract(NakedObjectConfiguration configuration,
                          Transport transport)
Method Detail

init

public void init()
Specified by:
init in interface ApplicationScopedComponent

shutdown

public void shutdown()
Specified by:
shutdown in interface ApplicationScopedComponent

isKeepAlive

public boolean isKeepAlive()

connect

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

disconnect

public void disconnect()
Specified by:
disconnect in interface ClientMarshaller

reconnect

protected void reconnect()
                  throws java.io.IOException
Not API. Whether reconnects are performed depends on the marshaller/protocol.

Throws:
java.io.IOException

getConfiguration

public NakedObjectConfiguration getConfiguration()

getTransport

public Transport getTransport()


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