org.ow2.petals.component.framework.api.notification
Interface AsyncSender


public interface AsyncSender

An asynchronous notification sender. The response are handled in a StatusListener attached to the implementation.

Author:
chamerling - eBM WebSourcing

Method Summary
 void abort()
          Abort all the current tasks...
 boolean isStopped()
          Check if the sender as been stopped (via abort method).
 void send(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistration destroyRegistration)
          Deprecated. notifications without managers
 void send(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistration destroyRegistration, com.ebmwebsourcing.wsstar.notification.extension.api.SOAParameterType soaParameterType)
           
 void send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Notify notify, com.ebmwebsourcing.wsstar.addressing.definition.api.EndpointReferenceType consumerReference)
           
 void send(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisher registerPublisher)
          Send a RegisterPublisher payload to the broker.
 void send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe subscribe)
          Send a subscribe request asynchronously to the notification broker (aka SE-Notif) hardcoded Subscription manager interface
 void send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe subscribe, QName servName, String epName)
          Send a subscribe request asynchronously to the provided service endpoint (denoted by the given service name and endpoint name)
 void send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Unsubscribe unsubscribe)
           
 

Method Detail

send

@Deprecated
void send(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistration destroyRegistration)
          throws PEtALSCDKException
Deprecated. notifications without managers

Throws:
PEtALSCDKException

send

void send(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.DestroyRegistration destroyRegistration,
          com.ebmwebsourcing.wsstar.notification.extension.api.SOAParameterType soaParameterType)
          throws PEtALSCDKException
Parameters:
destroyRegistration -
soaParameterType -
Throws:
PEtALSCDKException

send

void send(com.ebmwebsourcing.wsstar.notification.definition.brokerednotification.api.RegisterPublisher registerPublisher)
          throws PEtALSCDKException
Send a RegisterPublisher payload to the broker.

Parameters:
registerPublisher -
Throws:
PEtALSCDKException

send

void send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe subscribe)
          throws PEtALSCDKException
Send a subscribe request asynchronously to the notification broker (aka SE-Notif) hardcoded Subscription manager interface

Parameters:
subscribe - a subscribe request java object
Throws:
PEtALSCDKException

send

void send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Subscribe subscribe,
          QName servName,
          String epName)
Send a subscribe request asynchronously to the provided service endpoint (denoted by the given service name and endpoint name)

Parameters:
subscribe - a subscribe request java object
servName - a targeted service QName (must be not null)
epName - a targeted endpoint name (must be not null and not empty)

send

void send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Unsubscribe unsubscribe)
          throws PEtALSCDKException
Parameters:
unsubscribe -
Throws:
PEtALSCDKException

send

void send(com.ebmwebsourcing.wsstar.notification.definition.basenotification.api.Notify notify,
          com.ebmwebsourcing.wsstar.addressing.definition.api.EndpointReferenceType consumerReference)
          throws PEtALSCDKException
Parameters:
notify -
consumerReference -
Throws:
PEtALSCDKException

abort

void abort()
           throws PEtALSCDKException
Abort all the current tasks... This sender must never be reused.

Throws:
PEtALSCDKException

isStopped

boolean isStopped()
Check if the sender as been stopped (via abort method). If true, it must not be reused.

Returns:
true if aborted. false otherwhise.


Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.