|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthings.thinger.service.command.local.LocalCommandResponder
public class LocalCommandResponder
The Local implementation Command Responder.
Version History
EPG - Initial - 10 APR 06
Constructor Summary | |
---|---|
LocalCommandResponder(Entity<LocalCommandInfo> originalCommand,
Conduit responseConduit,
WhoAmI serviceId,
SystemInterface si)
Construct. |
Method Summary | |
---|---|
void |
add(NV item)
Add a response. |
void |
done()
Make the response done. |
protected void |
finalize()
finalizer. |
void |
flush()
Force the responder to flush. |
AttributeReader |
getCommandAttributes()
Get the command attributes. |
SystemInterface |
getSystemInterface()
Get a system interface. |
void |
remove(java.lang.String name)
Remove a response for replacement, if possible. |
void |
reportFailure(java.lang.String message)
Report a failure. |
void |
reportFailure(java.lang.String message,
java.lang.String... attrib)
Report a failure with attributes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalCommandResponder(Entity<LocalCommandInfo> originalCommand, Conduit responseConduit, WhoAmI serviceId, SystemInterface si) throws java.lang.Throwable
originalCommand
- responseConduit
- serviceId
- si
-
java.lang.Throwable
Method Detail |
---|
public AttributeReader getCommandAttributes() throws SystemException
getCommandAttributes
in interface CommandResponder
SystemException
public void add(NV item) throws SystemException
add
in interface CommandResponder
item
- the item
SystemException
public SystemInterface getSystemInterface() throws SystemException
getSystemInterface
in interface CommandResponder
SystemException
public void remove(java.lang.String name) throws SystemException
remove
in interface CommandResponder
name
- the item to replace
SystemException
public void flush() throws SystemException
flush
in interface CommandResponder
SystemException
public void done() throws SystemException
done
in interface CommandResponder
SystemException
public void reportFailure(java.lang.String message) throws SystemException
message
- the test of the failure.
SystemException
public void reportFailure(java.lang.String message, java.lang.String... attrib) throws SystemException
message
- the test of the failure.attrib
- Name/value pairs that will make us the attributes.
SystemException
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |