|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUIPMListener
IUIPMListener forwards call of the methods from UIPM to relative TA.
| Method Summary | |
|---|---|
boolean |
addCompatibleUI(String targetId,
List<String> socketNames,
String protocolShortName,
List<String> uris,
Map<String,String> protocolInfo)
Tell the UCH to add a user interface item (advertised by the UIPM) to its UIList which is exposed to controllers on request. |
void |
closeSession(String sessionId)
Closes a Session with the Target. |
List<String> |
getAvailableTargetIds()
Get the identifiers of the available targets. |
boolean |
getDependencyValue(String sessionId,
String path,
String dependency)
Get the actual value of a dependency. |
String |
getDocument(String uri,
String postData)
Get specified document through HTTP GET or POST. |
String |
getElementRef(String sessionId,
String path)
Get the elementRef URI that points to a particular socket element/set. |
List<Set<String>> |
getIndices(String sessionId,
List<String> eltIds,
List<Integer> indexNos)
Get IndexNames available on specific level of dimension of dimensional Element. |
String |
getIpAddress()
Get the IP address of the UCH. |
IUCHStore |
getLocalUCHStore()
Get the Local UCH Store. |
Map<String,String> |
getLocators(String targetName)
Get a map with Locator ids and locator types for a specific target type. |
List<Map<String,Object>> |
getResources(String sessionId,
List<Map<String,String>> resProps)
Returns the matching Resource with the Resource Properties specified by 'resProps'. |
String |
getSocketDescriptionUri(String targetName,
String socketName)
Get the URI for retrieving the Socket Description of specified targetName and socketName. |
String |
getSocketFriendlyName(String targetId,
String socketName)
Get Friendly Name for the Socket specified by the socketName and targetId. |
String |
getSocketName(String sessionId)
Get the SocketName for the specified sessionId. |
List<String> |
getSocketNames(String targetName)
Returns List of socket Names for the specified Target Name. |
String |
getTargetDescriptionUri(String targetName)
Get the URI for the Target Description for the specified targetName. |
String |
getTargetName(String targetId)
Get the name of a target for the specified targetId. |
Map<String,Object> |
getTargetProps(String targetId)
Get the target Properties for the specified targetId. |
Map<String,String> |
getUCHProps()
Get a Map or UCH Properties. |
Map<String,String> |
getValues(String sessionId,
List<String> paths)
Returns a value/state of the specified socket elements. |
void |
invokeLocator(String targetId,
String locatorId)
Invoke the specified locator function on the specified target. |
boolean |
isElementAvailable(String targetId,
String socketName,
String eltId)
Checks whether a given socketElement is available in specified Socket of specified Target or not. |
boolean |
isImplemented(String functionName)
Return whether specified function is implemented or not. |
boolean |
isSessionResumable(String sessionId)
Check whether the given session can be resumed. |
boolean |
isSessionSuspendable(String sessionId)
Check whether the given session can be suspended. |
Map<String,String> |
openSessionRequest(IUIPM uipm,
String targetId,
String socketName,
Map<String,String> clientProps)
Request for opening a session with the specified target and socket. |
void |
removeCompatibleUIs(List<String> uris)
Tells the UCH to remove user interface URIs from the UIList that were previously added by one call to addCompatibleUI(). |
void |
removeUIPM(IUIPM uipm)
|
boolean |
resumeSession(String sessionId)
The target is requested to resume the given session. |
Map<String,List<String>> |
setValuesRequest(String sessionId,
List<String> paths,
List<String> operations,
List<String> reqValues)
The UIPM requests to change the target state in one or more operations on specified socket elements. |
String |
startUriService(IUIPM uipm,
String scheme,
int port,
boolean portIsFlexible,
String basePath,
boolean basePathIsFlexible)
The UIPM requests the UCH to start servicing a URI which is made up of a given scheme, port, and base path. |
void |
stopUriService(String uri)
The UIPM requests the UCH to stop servicing a URI that was requested to be serviced in a previous call to startUriService(). |
long |
suspendSession(String sessionId,
long suggestedTimeout)
The target is requested to suspend the given session with a suggested timeout value. |
boolean |
validateValue(String sessionId,
String path,
String value)
Checks whether value is valid or not. |
| Method Detail |
|---|
List<String> getAvailableTargetIds()
String getTargetName(String targetId)
targetId - a String value of targetId
Map<String,Object> getTargetProps(String targetId)
targetId - a String value of targetId
String getTargetDescriptionUri(String targetName)
targetName - a String value of targetName
String getDocument(String uri,
String postData)
throws UCHException
uri - a String value of URIpostData - a String value of postData
UCHExceptionList<String> getSocketNames(String targetName)
targetName - a String value of targetName
String getSocketDescriptionUri(String targetName,
String socketName)
targetName - a String value of targetNamesocketName - a String value of socketName
TAFatalExceptionString getSocketName(String sessionId)
sessionId - a String value of sessionId
TAFatalException
String getSocketFriendlyName(String targetId,
String socketName)
targetId - a String value of targetIdsocketName - a String value of socketName
boolean isElementAvailable(String targetId,
String socketName,
String eltId)
targetId - a String value of targetIdsocketName - a String value of socketNameeltId - a String value of eltId
TAFatalException
List<Map<String,Object>> getResources(String sessionId,
List<Map<String,String>> resProps)
sessionId - a String value of SessionIdresProps - List<Map<String, String>> of Resource Properties
Map<String,String> openSessionRequest(IUIPM uipm,
String targetId,
String socketName,
Map<String,String> clientProps)
targetId - a String value of targetIdsocketName - a String value of socketNameclientProps - Map<String,String>
void closeSession(String sessionId)
sessionId - a String value of sessionId
List<Set<String>> getIndices(String sessionId,
List<String> eltIds,
List<Integer> indexNos)
sessionId - a String value of sessionIdeltIds - a List<String> of elementIdsindexNos - a List<Integer> of indexNo
Map<String,String> getValues(String sessionId,
List<String> paths)
sessionId - a String value of sessionIdpaths - a List<String> of elementPath
TAFatalException
Map<String,List<String>> setValuesRequest(String sessionId,
List<String> paths,
List<String> operations,
List<String> reqValues)
sessionId - a String value of sessionIdpaths - List<String> a List of elementPathsoperations - List<String> a List of operations (allowed operations are "S", "A", "R", "I" or "K" )reqValues - List<String> a List of Requested Values
boolean addCompatibleUI(String targetId,
List<String> socketNames,
String protocolShortName,
List<String> uris,
Map<String,String> protocolInfo)
throws UCHException
targetId - a String value of targetIdsocketNames - a List<String> value of socketNamesprotocolShortName - a String value of protocolShortNameuris - a List<String> value of urisprotocolInfo - a Map<String, String> of protocol Information
UCHException
void removeCompatibleUIs(List<String> uris)
throws UCHException
uris - a List<String> of URIs
UCHExceptionIUCHStore getLocalUCHStore()
boolean isImplemented(String functionName)
functionName - a String value of function Name
String getIpAddress()
String startUriService(IUIPM uipm,
String scheme,
int port,
boolean portIsFlexible,
String basePath,
boolean basePathIsFlexible)
throws UCHException
uipm - an IUIPM objectscheme - a String value of schemaport - a port noportIsFlexible - a boolean valuebasePath - a String value of basePathbasePathIsFlexible - a boolean value
UCHException
void stopUriService(String uri)
throws UCHException
uri - a String value of URI
UCHExceptionMap<String,String> getLocators(String targetName)
targetName - a String value of targetName
void invokeLocator(String targetId,
String locatorId)
targetId - a String value of TargetIdlocatorId - a String value of LocatorIdMap<String,String> getUCHProps()
boolean validateValue(String sessionId,
String path,
String value)
throws UCHNotImplementedException
sessionId - a String value of sessionIdpath - a String value of pathvalue - a String value
UCHNotImplementedException
boolean getDependencyValue(String sessionId,
String path,
String dependency)
throws UCHNotImplementedException
sessionId - a String value of sessionIdpath - a String value of pathdependency - a String value of dependency
UCHNotImplementedException
String getElementRef(String sessionId,
String path)
throws UCHNotImplementedException
sessionId - a String value of sessionIdpath - a String value of path
UCHNotImplementedException
boolean isSessionSuspendable(String sessionId)
throws UCHNotImplementedException
sessionId - a String value of sessionId
UCHNotImplementedException
long suspendSession(String sessionId,
long suggestedTimeout)
throws UCHNotImplementedException
sessionId - a String value of sessionIdsuggestedTimeout - a long value
UCHNotImplementedException
boolean isSessionResumable(String sessionId)
throws UCHNotImplementedException
sessionId - a String value of sessionId
UCHNotImplementedException
boolean resumeSession(String sessionId)
throws UCHNotImplementedException
sessionId - a String value of sessionId
UCHNotImplementedExceptionvoid removeUIPM(IUIPM uipm)
uipm - an Object of IUIPM
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||