com.sentilla.net.rpc.procedures
Class RemoteGetProperty

java.lang.Object
  extended by com.sentilla.net.rpc.procedures.RemoteGetProperty
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RemoteGetPropertyBytes, RemoteGetPropertyObject

public abstract class RemoteGetProperty
extends Object
implements Serializable

Private: for Sentilla internal use only. Abstract class for Procedure to retrieve the Object indexed by key.

See Also:
Serialized Form

Nested Class Summary
static class RemoteGetProperty.Result
          Private: for Sentilla internal use only.
 
Field Summary
 byte[] keybytes
           
 byte seek
           
 
Constructor Summary
RemoteGetProperty(String key, int seek)
           
 
Method Summary
protected  com.sentilla.io.RandomAccessFile getRaf()
          Open the property and seek to start position.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

seek

public byte seek

keybytes

public byte[] keybytes
Constructor Detail

RemoteGetProperty

public RemoteGetProperty(String key,
                         int seek)
Parameters:
key - String identifying the property to get
seek - byte offset to begin reading
Method Detail

getRaf

protected com.sentilla.io.RandomAccessFile getRaf()
Open the property and seek to start position. Intended to run on the callee side.

Returns:
RandomAccessFile if successfully opened
Throws:
IORuntimeException - (platform-specific) if open or seek fail.


Copyright © 2007 Sentilla Corporation. All Rights Reserved.