|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.rdg.resc.jstyx.gridservice.server.StringServiceDataElement
public class StringServiceDataElement
A ServiceDataElement represented as a String
| Constructor Summary | |
|---|---|
StringServiceDataElement(java.lang.String name)
|
|
StringServiceDataElement(java.lang.String name,
boolean readOnly)
|
|
StringServiceDataElement(java.lang.String name,
boolean readOnly,
java.lang.String value)
|
|
StringServiceDataElement(java.lang.String name,
boolean readOnly,
java.lang.String value,
float minUpdateInterval)
Creates a new instance of StringServiceDataElement |
|
StringServiceDataElement(java.lang.String name,
java.lang.String value)
|
|
| Method Summary | |
|---|---|
void |
flush()
Forces all waiting clients to get an update on this quantity, irrespective of how long they have waited since the last update. |
StyxFile |
getAsyncStyxFile()
Gets the StyxFile that provides asynchronous access to this SDE |
byte[] |
getBytes()
Gets the ServiceDataElement, represented as a byte array |
java.lang.String |
getName()
Gets the name of this SDE |
java.lang.Object |
getObject(byte[] bytes)
Converts the given byte array into an object of the appropriate type |
StyxFile |
getStyxFile()
Gets the StyxFile that provides non-blocking access to this SDE |
java.lang.Object |
getValue()
Gets the value of the ServiceDataElement |
boolean |
isReadOnly()
|
void |
setValue(byte[] bytes)
Sets a new value for the SDE from the given byte array. |
void |
setValue(java.lang.Object newValue)
Sets the ServiceDataElement to a new value and notifies the StyxFile interfaces to this SDE |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringServiceDataElement(java.lang.String name,
boolean readOnly,
java.lang.String value,
float minUpdateInterval)
public StringServiceDataElement(java.lang.String name,
boolean readOnly,
java.lang.String value)
public StringServiceDataElement(java.lang.String name,
java.lang.String value)
public StringServiceDataElement(java.lang.String name,
boolean readOnly)
public StringServiceDataElement(java.lang.String name)
| Method Detail |
|---|
public byte[] getBytes()
public java.lang.Object getObject(byte[] bytes)
public void setValue(byte[] bytes)
public java.lang.Object getValue()
public void setValue(java.lang.Object newValue)
public java.lang.String getName()
public boolean isReadOnly()
public StyxFile getStyxFile()
throws StyxException
StyxException
public StyxFile getAsyncStyxFile()
throws StyxException
StyxExceptionpublic void flush()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||