com.sentilla.net.rpc.procedures
Class RemoteSetPropertyObject
java.lang.Object
com.sentilla.net.rpc.procedures.RemoteSetProperty
com.sentilla.net.rpc.procedures.RemoteSetPropertyObject
- All Implemented Interfaces:
- Procedure<RemoteSetProperty.Result>, Serializable
public class RemoteSetPropertyObject
- extends RemoteSetProperty
Private: for Sentilla internal use only.
Procedure to write an Object into a remote property.
- See Also:
RemoteSetProperty
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
public Object value
RemoteSetPropertyObject
public RemoteSetPropertyObject(String key,
Object value,
int seek)
- Open (existing) property and write a remote property, using byte Object.
- Parameters:
key
- String identifying the property to setseek
- offset in number of bytes from start of filevalue
- Object to store in the mote properties
RemoteSetPropertyObject
public RemoteSetPropertyObject(String key,
Object value,
int seek,
int len)
- Write (creating property if necessary) a remote property, using Object.
- Parameters:
key
- String identifying the property to setseek
- offset in number of bytes from start of filevalue
- Object to store in the mote propertieslen
- in bytes to reserve for this property
run
public RemoteSetProperty.Result run()
- Description copied from interface:
Procedure
- Run the procedure and return its result.
- Returns:
- RemoteSetProperty.Result if successfully written
- Throws:
IORuntimeException
- (platform-specific) if write fails.
Copyright © 2007 Sentilla Corporation. All Rights Reserved.