com.sentilla.net.rpc.procedures
Class RemoteGetPropertyBytes

java.lang.Object
  extended by com.sentilla.net.rpc.procedures.RemoteGetProperty
      extended by com.sentilla.net.rpc.procedures.RemoteGetPropertyBytes
All Implemented Interfaces:
Procedure<RemoteGetPropertyBytes.Result>, Serializable

public class RemoteGetPropertyBytes
extends RemoteGetProperty
implements Procedure<RemoteGetPropertyBytes.Result>

Private: for Sentilla internal use only. Procedure to retrieve the byte[] indexed by key, starting at an offset.

See Also:
RemoteGetProperty, Serialized Form

Nested Class Summary
static class RemoteGetPropertyBytes.Result
          Private: for Sentilla internal use only.
 
Field Summary
 byte len
           
 
Fields inherited from class com.sentilla.net.rpc.procedures.RemoteGetProperty
keybytes, seek
 
Constructor Summary
RemoteGetPropertyBytes(String key, int len, int seek)
           
 
Method Summary
 RemoteGetPropertyBytes.Result run()
          Tries to load the Object associated with key.
 
Methods inherited from class com.sentilla.net.rpc.procedures.RemoteGetProperty
getRaf
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

len

public byte len
Constructor Detail

RemoteGetPropertyBytes

public RemoteGetPropertyBytes(String key,
                              int len,
                              int seek)
Parameters:
key - String identifying the property to get
len - number of bytes to read
seek - byte offset to begin reading
Method Detail

run

public RemoteGetPropertyBytes.Result run()
Tries to load the Object associated with key.

Specified by:
run in interface Procedure<RemoteGetPropertyBytes.Result>
Returns:
RemoteGetProperty.Result
Throws:
IORuntimeException - (platform-specific) if the key is not found.


Copyright © 2007 Sentilla Corporation. All Rights Reserved.