|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RSProvider
Provides the SBB interface for a MM7 RA acting as a MMS Relay Server. An implementation of this object is bound into JNDI for use by SBBs. Methods on this interface allow SBBs to initiate new request transactions with a peer VASP.
In general, methods on this interface send requests and create a new activity that is used to deliver the corresponding response event. Delivery of events to new activities is deferred until after the current transaction commits; this makes it safe to attach a SBB to the newly created activity in the same transaction without running the chance of missing an event.
Method Summary | |
---|---|
DeliverActivity |
sendDeliverRequest(java.net.URL vaspURL,
MM7Address sender,
DeliverRequestParameters parameters)
Create a new DeliverActivity and send a new Deliver Request to
the peer VASP. |
DeliverActivity |
sendDeliverRequest(java.net.URL vaspURL,
java.lang.String rsID,
MM7Address sender,
DeliverRequestParameters parameters)
Create a new DeliverActivity and send a new Deliver Request to
the peer VASP. |
DeliveryReportActivity |
sendDeliveryReportRequest(java.net.URL vaspURL,
java.lang.String messageID,
MM7Address recipient,
MM7Address sender,
java.util.Date timestamp,
DeliveryReportRequest.MMDeliveryStatus mmStatus,
DeliveryReportRequestParameters parameters)
Create a new DeliveryReportActivity and send a new Delivery
Report Request to the peer VASP. |
DeliveryReportActivity |
sendDeliveryReportRequest(java.net.URL vaspURL,
java.lang.String rsID,
java.lang.String messageID,
MM7Address recipient,
MM7Address sender,
java.util.Date timestamp,
DeliveryReportRequest.MMDeliveryStatus mmStatus,
DeliveryReportRequestParameters parameters)
Create a new DeliveryReportActivity and send a new Delivery
Report Request to the peer VASP. |
ReadReplyReportActivity |
sendReadReplyReportRequest(java.net.URL vaspURL,
java.lang.String messageID,
MM7Address recipient,
MM7Address sender,
java.util.Date timestamp,
ReadReplyReportRequest.MMReadStatus mmStatus,
ReadReplyReportRequestParameters parameters)
Create a new ReadReplyReportActivity and send a new Read Reply
Report Request to the peer VASP. |
ReadReplyReportActivity |
sendReadReplyReportRequest(java.net.URL vaspURL,
java.lang.String rsID,
java.lang.String messageID,
MM7Address recipient,
MM7Address sender,
java.util.Date timestamp,
ReadReplyReportRequest.MMReadStatus mmStatus,
ReadReplyReportRequestParameters parameters)
Create a new ReadReplyReportActivity and send a new Read Reply
Report Request to the peer VASP. |
Method Detail |
---|
DeliverActivity sendDeliverRequest(java.net.URL vaspURL, MM7Address sender, DeliverRequestParameters parameters) throws java.io.IOException, ValidationException, javax.slee.SLEEException
DeliverActivity
and send a new Deliver Request to
the peer VASP. If no exception is thrown, a response will eventually
appear as a DeliverResponseEvent
on the newly created activity.
vaspURL
- the URL of the peer VASP, eg. http://host:port/path
.sender
- the address of the sender of the message described by
this DeliverRequest.parameters
- parameters of the DeliverRequest to send
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
vaspURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid
javax.slee.SLEEException
- if the SLEE could not send the request.DeliverActivity sendDeliverRequest(java.net.URL vaspURL, java.lang.String rsID, MM7Address sender, DeliverRequestParameters parameters) throws java.io.IOException, ValidationException, javax.slee.SLEEException
DeliverActivity
and send a new Deliver Request to
the peer VASP. If no exception is thrown, a response will eventually
appear as a DeliverResponseEvent
on the newly created activity.
vaspURL
- the URL of the peer VASP, eg. http://host:port/path
.rsID
- the Relay Server ID to use for this request; if null
, the RA's default will be usedsender
- the address of the sender of the message described by
this DeliverRequest.parameters
- parameters of the DeliverRequest to send
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
vaspURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid
javax.slee.SLEEException
- if the SLEE could not send the request.DeliveryReportActivity sendDeliveryReportRequest(java.net.URL vaspURL, java.lang.String messageID, MM7Address recipient, MM7Address sender, java.util.Date timestamp, DeliveryReportRequest.MMDeliveryStatus mmStatus, DeliveryReportRequestParameters parameters) throws java.io.IOException, ValidationException, javax.slee.SLEEException
DeliveryReportActivity
and send a new Delivery
Report Request to the peer VASP. If no exception is thrown, a response
will eventually appear as a DeliveryReportResponseEvent
on the
newly created activity.
vaspURL
- the URL of the peer VASP, eg. http://host:port/path
.messageID
- the ID of the message this Delivery Report refers torecipient
- the recipient of the messagesender
- the sender of the messagetimestamp
- the time of delivery of the messagemmStatus
- the delivery status code of the messageparameters
- parameters of the DeliverReportRequest to send
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
vaspURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid
javax.slee.SLEEException
- if the SLEE could not send the request.DeliveryReportActivity sendDeliveryReportRequest(java.net.URL vaspURL, java.lang.String rsID, java.lang.String messageID, MM7Address recipient, MM7Address sender, java.util.Date timestamp, DeliveryReportRequest.MMDeliveryStatus mmStatus, DeliveryReportRequestParameters parameters) throws java.io.IOException, ValidationException, javax.slee.SLEEException
DeliveryReportActivity
and send a new Delivery
Report Request to the peer VASP. If no exception is thrown, a response
will eventually appear as a DeliveryReportResponseEvent
on the
newly created activity.
vaspURL
- the URL of the peer VASP, eg. http://host:port/path
.rsID
- the Relay Server ID to use for this request; if null
, the RA's default will be usedmessageID
- the ID of the message this Delivery Report refers torecipient
- the recipient of the messagesender
- the sender of the messagetimestamp
- the time of delivery of the messagemmStatus
- the delivery status code of the messageparameters
- parameters of the DeliverReportRequest to send
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
vaspURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid
javax.slee.SLEEException
- if the SLEE could not send the request.ReadReplyReportActivity sendReadReplyReportRequest(java.net.URL vaspURL, java.lang.String messageID, MM7Address recipient, MM7Address sender, java.util.Date timestamp, ReadReplyReportRequest.MMReadStatus mmStatus, ReadReplyReportRequestParameters parameters) throws java.io.IOException, ValidationException, javax.slee.SLEEException
ReadReplyReportActivity
and send a new Read Reply
Report Request to the peer VASP. If no exception is thrown, a response
will eventually appear as a ReadReplyReportResponseEvent
(say
that five times fast!) on the newly created activity.
vaspURL
- the URL of the peer VASP, eg. http://host:port/path
.messageID
- the ID of the message this Read Reply Report refers torecipient
- the recipient of the messagesender
- the sender of the messagetimestamp
- the time of delivery of the messagemmStatus
- the delivery status code of the messageparameters
- parameters of the DeliverReportRequest to send
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
vaspURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid
javax.slee.SLEEException
- if the SLEE could not send the request.ReadReplyReportActivity sendReadReplyReportRequest(java.net.URL vaspURL, java.lang.String rsID, java.lang.String messageID, MM7Address recipient, MM7Address sender, java.util.Date timestamp, ReadReplyReportRequest.MMReadStatus mmStatus, ReadReplyReportRequestParameters parameters) throws java.io.IOException, ValidationException, javax.slee.SLEEException
ReadReplyReportActivity
and send a new Read Reply
Report Request to the peer VASP. If no exception is thrown, a response
will eventually appear as a ReadReplyReportResponseEvent
(say
that five times fast!) on the newly created activity.
vaspURL
- the URL of the peer VASP, eg. http://host:port/path
.rsID
- the Relay Server ID to use for this request; if null
, the RA's default will be usedmessageID
- the ID of the message this Read Reply Report refers torecipient
- the recipient of the messagesender
- the sender of the messagetimestamp
- the time of delivery of the messagemmStatus
- the delivery status code of the messageparameters
- parameters of the DeliverReportRequest to send
java.io.IOException
- if streaming the request to SOAP form failed
(for example, attached content could not be encoded) or if
vaspURL
is not valid (eg. unsupported protocol).
ValidationException
- if a component of the request is invalid
javax.slee.SLEEException
- if the SLEE could not send the request.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |