|
|||||||||
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.IIButton2Name
This class is an interpreter that converts iButton ids to names. Another component (app/widget/interpreter) sends an interpret command to it with an ibutton id, and this class returns the corresponding name.
Interpreter
Field Summary | |
static java.lang.String |
ABOWD
String for Gregory Abowd |
static java.lang.String |
ANIND
String for Anind Dey |
static java.lang.String |
BAS
String for Brad Singletary |
static java.lang.String |
BROTHERT
String for Jason Brotherton |
static java.lang.String |
CLASSNAME
Name of interpreter |
static java.lang.String |
DNGUYEN
String for David Nguyen |
static java.lang.String |
DUMMBO
String for Dummbo |
static java.lang.String |
FUTAKAWA
String for Futakawa |
static java.lang.String |
IBUTTONID
Tag for iButton id |
static java.lang.String |
ISHIGURO
String for Ishiguro |
static java.lang.String |
JMANKOFF
String for Jen Mankoff |
static java.lang.String |
KENT
String for Kent Lyons |
static java.lang.String |
KHAI
String for Khai Truong |
static java.lang.String |
KOOPER
String for Rob Kooper |
static java.lang.String |
MGP
String for Maria Pimentel |
static java.lang.String |
RJO
String for Robert Orr |
static java.lang.String |
SALBER
String for Daniel Salber |
static java.lang.String |
USERNAME
Tag for username |
static java.lang.String |
VISHAL
String for Vishal Dalal |
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 | |
IIButton2Name()
Constructor that creates the interpreter at the default port. |
|
IIButton2Name(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 USERNAME
public static final java.lang.String ANIND
public static final java.lang.String SALBER
public static final java.lang.String ABOWD
public static final java.lang.String BROTHERT
public static final java.lang.String KHAI
public static final java.lang.String JMANKOFF
public static final java.lang.String RJO
public static final java.lang.String DNGUYEN
public static final java.lang.String KOOPER
public static final java.lang.String MGP
public static final java.lang.String FUTAKAWA
public static final java.lang.String ISHIGURO
public static final java.lang.String BAS
public static final java.lang.String KENT
public static final java.lang.String VISHAL
public static final java.lang.String DUMMBO
Constructor Detail |
public IIButton2Name()
public IIButton2Name(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 |