|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectist.palcom.resource.descriptor.ASTNode
ist.palcom.resource.descriptor.ControlItem
ist.palcom.resource.descriptor.Group
ist.palcom.resource.descriptor.ServiceProxy
public class ServiceProxy
| Field Summary | |
|---|---|
static java.lang.String |
CONTENT_TYPE
MIME type for control data. |
protected boolean |
getBrowserLabel_visited
|
| Fields inherited from class ist.palcom.resource.descriptor.ASTNode |
|---|
CHANGE, children, encloseInBraces_visited, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, getAssemblyLabel_visited, getErrorList_visited, getIndent_visited, getParentPRDAssemblyVer_visited, getPrettyClosingString_visited, getPrettyString_visited, IN_CIRCLE, LAST_CYCLE, numChildren, parent, prettyPrintChildren_visited, RESET_CYCLE |
| Constructor Summary | |
|---|---|
ServiceProxy()
|
|
ServiceProxy(GroupInfo p0,
List p1)
|
|
ServiceProxy(java.lang.String id)
|
|
| Method Summary | |
|---|---|
void |
addControlItem(ControlItem node)
|
void |
addControlItemAndInfo(ControlItem item)
|
void |
addInCommandReceiver(PalcomThread receiver)
Add a receiver for InCommands invoked on this ServiceProxy. |
void |
addOutCommandReceiver(PalcomThread receiver)
Add a receiver for OutCommands received at this ServiceProxy. |
java.lang.Object |
clone()
|
ASTNode |
copy()
|
ControlItem |
findItem(java.lang.String id)
Returns the ControlItem within the sub-tree rooted at this ControlItem that has the sought ID, or null if none exists. |
Command |
findMatchingCommand(Command command)
Implements this method for groups (overrides the method in ControlItem). |
void |
flushCache()
|
ASTNode |
fullCopy()
|
AbstractResourceAddress |
getAddress()
|
java.lang.String |
getBrowserLabel()
|
ControlItem |
getControlItem(int i)
|
List |
getControlItemList()
|
List |
getControlItemListNoTransform()
|
DeviceID |
getDeviceID()
|
GroupInfo |
getInfo()
|
PRDData |
getInfoAsInfo()
Workaround for static typing. |
GroupInfo |
getInfoNoTransform()
|
LocalSID |
getLocalSID()
|
int |
getNumControlItem()
|
ControlService |
getParentService()
|
ServiceProxy |
getServiceProxy()
Implements this method for a ServiceProxy, by returning itself. |
void |
invokeCommand(Command command,
java.util.ArrayList addresses)
Invoke a command in this ServiceProxy. |
boolean |
isAboutTheSameEntityAs(PRDData data)
|
protected int |
numChildren()
|
void |
removeInCommandReceiver(PalcomThread receiver)
Remove a receiver for InCommands. |
void |
removeOutCommandReceiver(PalcomThread receiver)
Remove a receiver for OutCommands. |
void |
setControlItem(ControlItem node,
int i)
|
void |
setControlItemList(List list)
|
void |
setDataRefsAndAddDataToList(java.util.ArrayList dataList)
|
void |
setDataAccordingToDataRefs(byte[][] data)
|
void |
setHelp(java.lang.String help)
|
void |
setInfo(GroupInfo node)
|
void |
update(Command command,
java.util.ArrayList addresses)
Update this ServiceProxy with the parameter values of a command, and invokes the command. |
| Methods inherited from class ist.palcom.resource.descriptor.Group |
|---|
findCommand, getChildArray, getHelp |
| Methods inherited from class ist.palcom.resource.descriptor.ControlItem |
|---|
getID, getMessage, getTagName, initializeFromElement, writeStartTagAndAttributes, writeXMLElement |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CONTENT_TYPE
protected boolean getBrowserLabel_visited
| Constructor Detail |
|---|
public ServiceProxy(java.lang.String id)
public ServiceProxy()
public ServiceProxy(GroupInfo p0,
List p1)
| Method Detail |
|---|
public void flushCache()
flushCache in class Group
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class Groupjava.lang.CloneNotSupportedExceptionpublic ASTNode copy()
copy in class Grouppublic ASTNode fullCopy()
fullCopy in class Grouppublic ControlService getParentService()
public AbstractResourceAddress getAddress()
public LocalSID getLocalSID()
public DeviceID getDeviceID()
public PRDData getInfoAsInfo()
ControlItem
getInfoAsInfo in class Grouppublic void setHelp(java.lang.String help)
setHelp in class Grouppublic ControlItem findItem(java.lang.String id)
ControlItem
findItem in class Grouppublic ServiceProxy getServiceProxy()
getServiceProxy in class ControlItempublic Command findMatchingCommand(Command command)
findMatchingCommand in class Grouppublic void setDataRefsAndAddDataToList(java.util.ArrayList dataList)
setDataRefsAndAddDataToList in class Grouppublic void setDataAccordingToDataRefs(byte[][] data)
setDataAccordingToDataRefs in class Group
public void update(Command command,
java.util.ArrayList addresses)
public void addInCommandReceiver(PalcomThread receiver)
public void removeInCommandReceiver(PalcomThread receiver)
public void addOutCommandReceiver(PalcomThread receiver)
public void removeOutCommandReceiver(PalcomThread receiver)
public void invokeCommand(Command command,
java.util.ArrayList addresses)
public void addControlItemAndInfo(ControlItem item)
addControlItemAndInfo in class Grouppublic boolean isAboutTheSameEntityAs(PRDData data)
isAboutTheSameEntityAs in class Groupprotected int numChildren()
numChildren in class Grouppublic void setInfo(GroupInfo node)
setInfo in class Grouppublic GroupInfo getInfo()
getInfo in class Grouppublic GroupInfo getInfoNoTransform()
getInfoNoTransform in class Grouppublic void setControlItemList(List list)
setControlItemList in class Grouppublic int getNumControlItem()
getNumControlItem in class Grouppublic ControlItem getControlItem(int i)
getControlItem in class Grouppublic void addControlItem(ControlItem node)
addControlItem in class Group
public void setControlItem(ControlItem node,
int i)
setControlItem in class Grouppublic List getControlItemList()
getControlItemList in class Grouppublic List getControlItemListNoTransform()
getControlItemListNoTransform in class Grouppublic java.lang.String getBrowserLabel()
getBrowserLabel in class Group
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||