jremote jbase5.2.1

com.jbase.jremote.protocol
Class WriteRecordRequest

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

public class WriteRecordRequest
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_WRITE
           
static int MODE_WRITEU
           
static int MODE_WRITEU_NONBLOCK
           
 
Constructor Summary
WriteRecordRequest(int writeMode, String fileName, String recordKey, JDynArray data)
           
 
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_WRITE

public static final int MODE_WRITE
See Also:
Constant Field Values

MODE_WRITEU

public static final int MODE_WRITEU
See Also:
Constant Field Values

MODE_WRITEU_NONBLOCK

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

WriteRecordRequest

public WriteRecordRequest(int writeMode,
                          String fileName,
                          String recordKey,
                          JDynArray data)
Method Detail

writeObject

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

readObject

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

getType

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

jremote jbase5.2.1

Copyright © 2016 TEMENOS. All Rights Reserved.