jremote jbase5.2.1

com.jbase.jremote.protocol
Class ReadRecordRequest

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

public class ReadRecordRequest
extends JRemoteRequest

Author:
pkuchta

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.jbase.jremote.io.JBaseSerializable
JBaseSerializable.TYPE
 
Field Summary
static int MODE_READ
           
static int MODE_READU
           
static int MODE_READU_NONBLOCK
           
 
Constructor Summary
ReadRecordRequest(int readMode, java.lang.String fileName, java.lang.String recordKey)
           
 
Method Summary
 int getType()
           
 void readObject(JBaseObjectReader reader, int version)
           
 void writeObject(JBaseObjectWriter writer, int version)
           
 
Methods inherited from class com.jbase.jremote.protocol.JRemoteRequest
getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODE_READ

public static final int MODE_READ
See Also:
Constant Field Values

MODE_READU

public static final int MODE_READU
See Also:
Constant Field Values

MODE_READU_NONBLOCK

public static final int MODE_READU_NONBLOCK
See Also:
Constant Field Values
Constructor Detail

ReadRecordRequest

public ReadRecordRequest(int readMode,
                         java.lang.String fileName,
                         java.lang.String recordKey)
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
See Also:
JBaseSerializable.getType()

jremote jbase5.2.1

Copyright © 2010 TEMENOS. All Rights Reserved.