|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--context.arch.BaseObject | +--context.arch.interpreter.Interpreter | +--context.arch.interpreter.IIButton2Group
This class is an interpreter that converts iButton ids to groups. Another component (app/widget/interpreter) sends an interpret command to it with an ibutton id, and this class returns the corresponding group.
Interpreter
Field Summary | |
static java.lang.String |
CLASSNAME
Name of interpreter |
static java.lang.String |
CRB
String for CRB |
static java.lang.String |
FCE
String for FCE |
static java.lang.String |
GROUP
Tag for group |
static java.lang.String |
IBUTTONID
Tag for iButton id |
static java.lang.String |
IS
String for IS |
static java.lang.String |
VE
String for VE |
Fields inherited from class context.arch.interpreter.Interpreter |
DEFAULT_PORT,
inAttributes,
inAttributeTypes,
INTERPRET,
INTERPRET_REPLY,
outAttributes,
outAttributeTypes |
Fields inherited from class context.arch.BaseObject |
communications,
EXIT_OK,
handlers,
ID,
parser,
PING,
PING_REPLY,
serviceHandlers |
Constructor Summary | |
IIButton2Group()
Constructor that creates the interpreter at the default port. |
|
IIButton2Group(int port)
Constructor that creates the interpreter at the given port. |
Method Summary | |
protected AttributeNameValues |
interpretData(AttributeNameValues data)
This method performs the actual interpretation of this component. |
static void |
main(java.lang.String[] argv)
Main method to create this interpreter with port specified by command line arguments |
protected Attributes |
setInAttributes()
Sets the incoming attributes for the interpreter. |
protected Attributes |
setOutAttributes()
Sets the outgoing attributes for the interpreter. |
Methods inherited from class context.arch.interpreter.Interpreter |
getInAttributeType,
getOutAttributeType,
isInAttribute,
isOutAttribute,
runInterpreterMethod,
runUserMethod,
setInAttribute,
setOutAttribute |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String CLASSNAME
public static final java.lang.String IBUTTONID
public static final java.lang.String GROUP
public static final java.lang.String FCE
public static final java.lang.String VE
public static final java.lang.String IS
public static final java.lang.String CRB
Constructor Detail |
public IIButton2Group()
public IIButton2Group(int port)
Method Detail |
protected AttributeNameValues interpretData(AttributeNameValues data)
data
- AttributeNameValues containing data to be interpretedprotected Attributes setInAttributes()
protected Attributes setOutAttributes()
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |