|
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.multimedia_messaging.send.SendMessageClient
public class SendMessageClient
Constructor Summary | |
---|---|
SendMessageClient()
|
|
SendMessageClient(String assertedId)
|
Method Summary | |
---|---|
oracle.webservices.transport.ClientTransport |
getClientTransport()
returns the transport context |
String |
getEndpoint()
|
boolean |
getMaintainSession()
|
org.csapi.schema.parlayx.multimedia_messaging.v2_4.DeliveryInformation[] |
getMessageDeliveryStatus(String requestIdentifier)
The behavior of this operation varies depending on whether the service endpoint is in the SIP domain or the general messaging domain. |
String |
getPassword()
|
oracle.sdp.parlayx.multimedia_messaging.send.SendMessage |
getPort()
used to access the JAX-RPC level APIs returns the interface of the port instance |
String |
getUsername()
|
String |
sendMessage(URI[] addresses,
String senderAddress,
String subject,
org.csapi.schema.parlayx.multimedia_messaging.v2_4.MessagePriority priority,
org.csapi.schema.parlayx.common.v2_1.ChargingInformation charging,
org.csapi.schema.parlayx.common.v2_1.SimpleReference receiptRequest)
Implemented according to the Parlay X 2.1 specification section 8.1.1. |
void |
setAttachment(javax.activation.DataHandler content,
javax.xml.soap.MimeHeaders headers)
Set attachment content to send. |
void |
setEndpoint(String endpoint)
|
void |
setMaintainSession(boolean maintainSession)
|
void |
setPassword(String password)
|
void |
setUsername(String username)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SendMessageClient() throws Exception
Exception
public SendMessageClient(String assertedId) throws Exception
Exception
Method Detail |
---|
public void setAttachment(javax.activation.DataHandler content, javax.xml.soap.MimeHeaders headers)
StringDataSource ds = new StringDataSource(String text, "text/plain");
DataHandler dh = new DataHandler(ds);
setAttachment(dh, dh.getContentType(), null);
input
- The content object, as describe above.contentType
- The desired MIME Content-Type for the message.headers
- Any additional MIME headers to be supplied with the
content.public String sendMessage(URI[] addresses, String senderAddress, String subject, org.csapi.schema.parlayx.multimedia_messaging.v2_4.MessagePriority priority, org.csapi.schema.parlayx.common.v2_1.ChargingInformation charging, org.csapi.schema.parlayx.common.v2_1.SimpleReference receiptRequest) throws RemoteException, org.csapi.schema.parlayx.common.v2_1.ServiceException, org.csapi.schema.parlayx.common.v2_1.PolicyException
addresses
- See description.senderAddress
- See description.subject
- See description.priority
- See description.charging
- See description.receiptRequest
- See description.
RemoteException
org.csapi.schema.parlayx.common.v2_1.PolicyException
org.csapi.schema.parlayx.common.v2_1.ServiceException
public org.csapi.schema.parlayx.multimedia_messaging.v2_4.DeliveryInformation[] getMessageDeliveryStatus(String requestIdentifier) throws RemoteException, org.csapi.schema.parlayx.common.v2_1.ServiceException, org.csapi.schema.parlayx.common.v2_1.PolicyException
requestIdentifier
-
RemoteException
org.csapi.schema.parlayx.common.v2_1.ServiceException
org.csapi.schema.parlayx.common.v2_1.PolicyException
public oracle.sdp.parlayx.multimedia_messaging.send.SendMessage 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 |