|
Oracle Communication and Mobility Server Java API Reference E14335-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.sdp.parlayx.presence.supplier.PresenceSupplierClient
public class PresenceSupplierClient
Constructor Summary | |
---|---|
PresenceSupplierClient()
|
|
PresenceSupplierClient(String assertedId)
This is the only method inserted into the automatic generated code. |
Method Summary | |
---|---|
void |
blockSubscription(URI watcher)
This method is implemented per Parlay X 2.1 specification. |
oracle.webservices.transport.ClientTransport |
getClientTransport()
returns the transport context |
String |
getEndpoint()
|
boolean |
getMaintainSession()
|
URI[] |
getMyWatchers()
This method is implemented per Parlay X 2.1 specification. |
org.csapi.schema.parlayx.presence.v2_3.SubscriptionRequest[] |
getOpenSubscriptions()
This method is implemented per Parlay X 2.1 specification. |
String |
getPassword()
|
oracle.sdp.parlayx.presence.supplier.PresenceSupplier |
getPort()
used to access the JAX-RPC level APIs returns the interface of the port instance |
org.csapi.schema.parlayx.presence.v2_3.PresenceAttributeType[] |
getSubscribedAttributes(URI watcher)
Since watcher can only suscribe for you Activity, it will only return Activity if a watcher is on you allow list. |
String |
getUsername()
|
static void |
main(String[] args)
|
void |
publish(org.csapi.schema.parlayx.presence.v2_3.PresenceAttribute[] presence)
This method is implemented as specified in Parlay X 2.1 specification with the following Oracle Extension Currently, only OtherValue and ActivityValue is supported. To terminate a publication, pass in the OtherValue("Expires", 0) as a PresenceAttribute in the parameter presence To publish a device note, pass in the OtherValue("DeviceNote", note) as a PresenceAttribute in the parameter presence To publish a service note, pass in the OtherValue("ServiceNote", note) as a PresenceAttribute in the parameter presence To publish a raw PIDF, pass in the OtherValue("RawPidf", pidf) as a PresenceAttribute in the parameter presence. |
void |
setEndpoint(String endpoint)
|
void |
setMaintainSession(boolean maintainSession)
|
void |
setPassword(String password)
|
void |
setUsername(String username)
|
void |
updateSubscriptionAuthorization(URI watcher,
org.csapi.schema.parlayx.presence.v2_3.PresencePermission[] decisions)
This method is implemented per Parlay X 2.1 specification. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PresenceSupplierClient() throws Exception
Exception
public PresenceSupplierClient(String assertedId) throws Exception
assertedId
- The asserted identity to be used to identify the user.
Exception
Method Detail |
---|
public static void main(String[] args)
args
- public void publish(org.csapi.schema.parlayx.presence.v2_3.PresenceAttribute[] presence) throws RemoteException, org.csapi.schema.parlayx.common.v2_1.ServiceException, org.csapi.schema.parlayx.common.v2_1.PolicyException
presence
- An array of presence attributes.
RemoteException
org.csapi.schema.parlayx.common.v2_1.PolicyException
org.csapi.schema.parlayx.common.v2_1.ServiceException
public org.csapi.schema.parlayx.presence.v2_3.SubscriptionRequest[] getOpenSubscriptions() throws RemoteException, org.csapi.schema.parlayx.common.v2_1.PolicyException, org.csapi.schema.parlayx.common.v2_1.ServiceException
RemoteException
org.csapi.schema.parlayx.common.v2_1.PolicyException
org.csapi.schema.parlayx.common.v2_1.ServiceException
public void updateSubscriptionAuthorization(URI watcher, org.csapi.schema.parlayx.presence.v2_3.PresencePermission[] decisions) throws RemoteException, org.csapi.schema.parlayx.common.v2_1.ServiceException, org.csapi.schema.parlayx.common.v2_1.PolicyException
watcher
- SIP address of the watcher you want to update its subscription authorization.decisions
- The decision on permission.
RemoteException
org.csapi.schema.parlayx.common.v2_1.ServiceException
org.csapi.schema.parlayx.common.v2_1.PolicyException
public URI[] getMyWatchers() throws RemoteException, org.csapi.schema.parlayx.common.v2_1.PolicyException, org.csapi.schema.parlayx.common.v2_1.ServiceException
RemoteException
org.csapi.schema.parlayx.common.v2_1.ServiceException
org.csapi.schema.parlayx.common.v2_1.PolicyException
public org.csapi.schema.parlayx.presence.v2_3.PresenceAttributeType[] getSubscribedAttributes(URI watcher) throws RemoteException, org.csapi.schema.parlayx.common.v2_1.PolicyException, org.csapi.schema.parlayx.common.v2_1.ServiceException
watcher
- SIP address of the watcher you want to query.
RemoteException
org.csapi.schema.parlayx.common.v2_1.PolicyException
org.csapi.schema.parlayx.common.v2_1.ServiceException
public void blockSubscription(URI watcher) throws RemoteException, org.csapi.schema.parlayx.common.v2_1.ServiceException, org.csapi.schema.parlayx.common.v2_1.PolicyException
watcher
- Watcher that you want to put on the block list.
RemoteException
org.csapi.schema.parlayx.common.v2_1.ServiceException
org.csapi.schema.parlayx.common.v2_1.PolicyException
public oracle.sdp.parlayx.presence.supplier.PresenceSupplier getPort()
public String getEndpoint()
public void setEndpoint(String endpoint)
public String getPassword()
public void setPassword(String password)
public String getUsername()
public void setUsername(String username)
public void setMaintainSession(boolean maintainSession)
public boolean getMaintainSession()
public oracle.webservices.transport.ClientTransport getClientTransport()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |