|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectist.palcom.communication.ast.ASTNode
ist.palcom.communication.ast.ControlItem
ist.palcom.communication.ast.Group
ist.palcom.communication.ast.ServiceProxy
public class ServiceProxy
| Field Summary | |
|---|---|
static String |
CONTENT_TYPE
MIME type for control data. |
| Fields inherited from class ist.palcom.communication.ast.ASTNode |
|---|
CHANGE, children, generatedWithCacheCycle, generatedWithCircularEnabled, IN_CIRCLE, LAST_CYCLE, numChildren, parent |
| Constructor Summary | |
|---|---|
ServiceProxy()
|
|
ServiceProxy(GroupInfo p0,
List p1)
|
|
ServiceProxy(String id)
|
|
| Method Summary | |
|---|---|
void |
addControlItem(ControlItem node)
|
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. |
Object |
clone()
|
ASTNode |
copy()
|
void |
flushCache()
|
ASTNode |
fullCopy()
|
ControlItem |
getControlItem(int i)
|
List |
getControlItemList()
|
List |
getControlItemListNoTransform()
|
URN |
getDeviceURN()
|
GroupInfo |
getInfo()
|
GroupInfo |
getInfoNoTransform()
|
int |
getNumControlItem()
|
URN |
getProviderURN()
|
ServiceProxy |
getServiceProxy()
Implements this method for a ServiceProxy, by returning itself. |
URN |
getURN()
|
void |
invokeCommand(Command command)
Invoke a command in this ServiceProxy. |
boolean |
isAboutTheSameEntityAs(Info info)
|
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 |
setInfo(GroupInfo node)
|
void |
update(Command command)
Update this ServiceProxy with the parameter values of a command, and invokes the command. |
| Methods inherited from class ist.palcom.communication.ast.Group |
|---|
addControlItemAndInfo, findItem, findMatchingCommand, getHelp, getInfoAsInfo, setDataRefsAndAddDataToList, setDataAccordingToDataRefs, setHelp |
| Methods inherited from class ist.palcom.communication.ast.ControlItem |
|---|
getID, getMessage, getTagName, initializeFromElement, writeStartTagAndAttributes, writeXMLElement |
| Methods inherited from class ist.palcom.communication.ast.ASTNode |
|---|
addChild, getChild, getChildNoTransform, getIndexOfChild, getNumChild, getParent, insertChild, remove, removeChild, setChild, setParent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, println, toString |
| Field Detail |
|---|
public static final String CONTENT_TYPE
| Constructor Detail |
|---|
public ServiceProxy()
public ServiceProxy(GroupInfo p0,
List p1)
public ServiceProxy(String id)
| Method Detail |
|---|
public Object clone()
throws CloneNotSupportedException
clone in class GroupCloneNotSupportedExceptionpublic ASTNode copy()
copy in class Grouppublic ASTNode fullCopy()
fullCopy in class Grouppublic void flushCache()
flushCache 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 boolean isAboutTheSameEntityAs(Info info)
isAboutTheSameEntityAs in class Grouppublic URN getURN()
public URN getDeviceURN()
public URN getProviderURN()
public ServiceProxy getServiceProxy()
getServiceProxy in class ControlItempublic void update(Command command)
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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||