org.objectweb.carol.jtests.conform.interceptor.jrmp
Class DummyServerServiceContext

java.lang.Object
  |
  +--org.objectweb.carol.jtests.conform.interceptor.jrmp.DummyServerServiceContext
All Implemented Interfaces:
java.io.Externalizable, org.objectweb.carol.rmi.jrmp.interceptor.JServiceContext, java.io.Serializable

public class DummyServerServiceContext
extends java.lang.Object
implements org.objectweb.carol.rmi.jrmp.interceptor.JServiceContext, java.io.Externalizable

Class DummyClientServiceContext is a JRMP Interface for Interceptor implementation for carol testing

Version:
1.0, 15/07/2002
Author:
Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
See Also:
Serialized Form

Constructor Summary
DummyServerServiceContext()
          empty constructor for Externalizable
DummyServerServiceContext(int context_id, java.lang.String address)
          constructor
 
Method Summary
 int getContextId()
          the JServiceContext id
 void readExternal(java.io.ObjectInput in)
          readExternal
 java.lang.String toString()
           
 void writeExternal(java.io.ObjectOutput out)
          writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DummyServerServiceContext

public DummyServerServiceContext()
empty constructor for Externalizable


DummyServerServiceContext

public DummyServerServiceContext(int context_id,
                                 java.lang.String address)
constructor

Method Detail

getContextId

public int getContextId()
the JServiceContext id

Specified by:
getContextId in interface org.objectweb.carol.rmi.jrmp.interceptor.JServiceContext

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
readExternal

Specified by:
readExternal in interface java.io.Externalizable
Parameters:
in - the ObjectInput
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
writeExternal

Specified by:
writeExternal in interface java.io.Externalizable
Parameters:
out - the object output stream
java.io.IOException