wt.wrmf.delivery
Interface ReceiverService

All Known Implementing Classes:
StandardReceiverService

public interface ReceiverService

Execute the received InputStream (retIS) according to the MethodInvocationDesc (desc) specified by the ActionPullItem (pullItem).

Supported API: false

Extendable: false


Method Summary
 void createInbox(Class inBoxClass, String name)
          

Supported API: false
 Serializable executeMethod(MethodInvocationDesc mid)
          Executes the method described in the MethodInvocationDescription.
 Serializable executeMethodWithPayload(MethodInvocationDesc mid, InputStream is)
          

Supported API: false
 Object executePulledIS(ActionPullItem pullItem, InputStream retIS)
          Execute the received InputStream (retIS) according to the MethodInvocationDesc (desc) specified by the ActionPullItem (pullItem).
 void pickUpMessage(InputStream is)
          Receiver Service accept feedback from remote side as a stream.
 InputStream pickUpMessageBiDi(InputStream is)
          Receiver Service accept the item as a stream and returns another input stream that contains the receipt item or an Alert Item.
 

Method Detail

pickUpMessage

public void pickUpMessage(InputStream is)
                   throws WTDeliveryException
Receiver Service accept feedback from remote side as a stream. RETURNS VOID

Supported API: false

Parameters:
is -
Throws:
WTDeliveryException

pickUpMessageBiDi

public InputStream pickUpMessageBiDi(InputStream is)
Receiver Service accept the item as a stream and returns another input stream that contains the receipt item or an Alert Item. Should not throw exceptions. All the exceptions should be catched and placed into the Alert Item.

Supported API: false

Parameters:
is -
Returns:
InputStream

createInbox

public void createInbox(Class inBoxClass,
                        String name)
                 throws WTDeliveryException


Supported API: false

Parameters:
inBoxClass -
name -
Throws:
WTDeliveryException

executeMethod

public Serializable executeMethod(MethodInvocationDesc mid)
                           throws WTDeliveryException
Executes the method described in the MethodInvocationDescription. returns the result object. The result object can be usefull only for immediate mode. Otherwise the method should use local shipping service to send the responce independently.

Supported API: false

Parameters:
mid -
Returns:
Serializable
Throws:
WTDeliveryException

executeMethodWithPayload

public Serializable executeMethodWithPayload(MethodInvocationDesc mid,
                                             InputStream is)
                                      throws WTDeliveryException


Supported API: false

Parameters:
mid -
is -
Returns:
Serializable
Throws:
WTDeliveryException

executePulledIS

public Object executePulledIS(ActionPullItem pullItem,
                              InputStream retIS)
                       throws WTDeliveryException
Execute the received InputStream (retIS) according to the MethodInvocationDesc (desc) specified by the ActionPullItem (pullItem).

Supported API: false

Parameters:
pullItem -
retIS -
Returns:
Object
Throws:
WTDeliveryException