jremote jbase5.2.1

com.jbase.jremote.protocol
Class EchoRequest

java.lang.Object
  extended by com.jbase.jremote.protocol.JRemoteRequest
      extended by com.jbase.jremote.protocol.EchoRequest
All Implemented Interfaces:
JBaseSerializable

public class EchoRequest
extends JRemoteRequest


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.jbase.jremote.io.JBaseSerializable
JBaseSerializable.TYPE
 
Field Summary
protected static java.util.logging.Logger log
           
 
Constructor Summary
EchoRequest()
           
EchoRequest(int len)
           
 
Method Summary
 int getType()
           
 int getVersion()
           
 void readObject(JBaseObjectReader reader, int version)
           
 void writeObject(JBaseObjectWriter writer, int version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final java.util.logging.Logger log
Constructor Detail

EchoRequest

public EchoRequest()

EchoRequest

public EchoRequest(int len)
            throws java.io.IOException
Throws:
java.io.IOException
Method Detail

writeObject

public void writeObject(JBaseObjectWriter writer,
                        int version)
                 throws java.io.IOException
Specified by:
writeObject in interface JBaseSerializable
Overrides:
writeObject in class JRemoteRequest
Throws:
java.io.IOException

readObject

public void readObject(JBaseObjectReader reader,
                       int version)
                throws java.io.IOException,
                       java.lang.ClassNotFoundException
Specified by:
readObject in interface JBaseSerializable
Overrides:
readObject in class JRemoteRequest
Throws:
java.io.IOException
java.lang.ClassNotFoundException

getType

public int getType()
Returns:
type id of the objects, used during the serialization

getVersion

public int getVersion()
Specified by:
getVersion in interface JBaseSerializable
Overrides:
getVersion in class JRemoteRequest

jremote jbase5.2.1

Copyright © 2010 TEMENOS. All Rights Reserved.