|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.soa.parlayx21.terminal_status.TerminalStatusProxy
public class TerminalStatusProxy
Constructor Summary | |
---|---|
TerminalStatusProxy()
|
Method Summary | |
---|---|
java.lang.String |
getEndpoint()
|
Status |
getStatus(java.net.URI address)
This operation is intended to retrieve the status for a single terminal. |
StatusData[] |
getStatusForGroup(java.net.URI[] addresses)
This operation initiates a retrieval activity, where one or more terminals, or groups of terminals, may have their status determined. |
TerminalStatus |
getTerminalStatus()
|
void |
setEndpoint(java.lang.String endpoint)
|
void |
useJNDI(boolean useJNDI)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TerminalStatusProxy()
Method Detail |
---|
public void useJNDI(boolean useJNDI)
public java.lang.String getEndpoint()
public void setEndpoint(java.lang.String endpoint)
public TerminalStatus getTerminalStatus()
public Status getStatus(java.net.URI address) throws java.rmi.RemoteException, PolicyException, ServiceException
TerminalStatus
This operation is intended to retrieve the status for a single terminal. The URI provided is for a single terminal, not a group URI. If a group URI is provided, a PolicyException will be returned to the application.
ServiceException from ES 202 391-1 [2]:
* SVC0001: Service error.
* SVC0002: Invalid input value.
PolicyException from ES 202 391-1 [2]:
* POL0001: Policy error.
* POL0002: Privacy error.
* POL0006: Groups not allowed.
getStatus
in interface TerminalStatus
address
- xsd:anyURI
Terminal to request status for
java.rmi.RemoteException
PolicyException
ServiceException
public StatusData[] getStatusForGroup(java.net.URI[] addresses) throws java.rmi.RemoteException, PolicyException, ServiceException
TerminalStatus
This operation initiates a retrieval activity, where one or more terminals, or groups of terminals, may have their status determined.
The Web Service may return a result set that does not include complete information, allowing the Web Service implementation to choose to deliver a partial set of results to accommodate other conditions, such as avoiding timeouts. In this case, the addresses for which no attempt was made to provide data will be marked NotRetrieved in the result for each address this applies to.
ServiceException from ES 202 391-1 [2]:
* SVC0001: Service error.
* SVC0002: Invalid input value.
* SVC0004: No valid addresses.
* SVC0006: Invalid group.
PolicyException from ES 202 391-1 [2]:
* POL0001: Policy error.
* POL0003: Too many addresses.
* POL0006: Groups not allowed.
* POL0007: Nested groups not allowed.
getStatusForGroup
in interface TerminalStatus
addresses
- xsd:anyURI [1..unbounded]
List of URIs to get status for, including group URIs
java.rmi.RemoteException
PolicyException
ServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |