stella.net
Interface SocketParameter

All Superinterfaces:
Initializable, Parameter, PropertySupplying

public interface SocketParameter
extends Parameter

This interface markes parameter whose data are transfered via a socket connection rather than via RMI. A parameter living in the java world (presumably in a ParameterClustering instance) and trying to shed his wisdom to non-java applications should implement this interface. Instances of SocketParameter are than served by a ParameterServer that allows incomming queries to java-paramters and uses this interface's only method, getAscii(), to transfer the paramter value to the client.


Field Summary
static String NOTDEFINED
          The string to send if the parameter is not-defined.
 
Fields inherited from interface util.PropertySupplying
CONFIG, KEY_CLASS
 
Method Summary
 String getAscii()
          Wraps over the Parameter.get() method to allow ascii-transfers of parameters via socket connections.
 
Methods inherited from interface stella.Parameter
get, getFormatted, getName, getString, set
 
Methods inherited from interface util.PropertySupplying
defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringProperties
 
Methods inherited from interface util.Initializable
init
 

Field Detail

NOTDEFINED

static final String NOTDEFINED
The string to send if the parameter is not-defined.

See Also:
Constant Field Values
Method Detail

getAscii

String getAscii()
Wraps over the Parameter.get() method to allow ascii-transfers of parameters via socket connections. This method is inteded to allow different toString parameter representations than its value.