weka4ws.core
Class NotificationReceiver

java.lang.Object
  extended byweka4ws.core.NotificationReceiver
All Implemented Interfaces:
org.globus.wsrf.NotifyCallback

public class NotificationReceiver
extends java.lang.Object
implements org.globus.wsrf.NotifyCallback

Author:
Oreste Verta, Marco Lackovic

Field Summary
static java.lang.String NAMESPACE
           
static short POLLING_TIME
           
static short PULL_MODE
           
static short PUSH_MODE
           
static javax.xml.namespace.QName RP_RESULT
           
 
Constructor Summary
NotificationReceiver(java.lang.String hostAddress, weka.gui.Logger log)
           
 
Method Summary
 void deliver(java.util.List topicPath, org.apache.axis.message.addressing.EndpointReferenceType producer, java.lang.Object message)
           
 weka4ws.stubs.service.Result getResult(weka4ws.stubs.service.Weka4WSPortType port)
           
 void setNotificationStyle(short notificationStyle)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE

public static final java.lang.String NAMESPACE
See Also:
Constant Field Values

RP_RESULT

public static final javax.xml.namespace.QName RP_RESULT

PUSH_MODE

public static final short PUSH_MODE
See Also:
Constant Field Values

PULL_MODE

public static final short PULL_MODE
See Also:
Constant Field Values

POLLING_TIME

public static final short POLLING_TIME
See Also:
Constant Field Values
Constructor Detail

NotificationReceiver

public NotificationReceiver(java.lang.String hostAddress,
                            weka.gui.Logger log)
                     throws java.lang.Exception
Method Detail

getResult

public weka4ws.stubs.service.Result getResult(weka4ws.stubs.service.Weka4WSPortType port)
                                       throws org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType,
                                              org.oasis.wsrf.properties.ResourceUnknownFaultType,
                                              java.rmi.RemoteException,
                                              org.globus.wsrf.encoding.DeserializationException
Returns:
the result
Throws:
java.rmi.RemoteException
org.oasis.wsrf.properties.ResourceUnknownFaultType
org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType
org.globus.wsrf.encoding.DeserializationException

deliver

public void deliver(java.util.List topicPath,
                    org.apache.axis.message.addressing.EndpointReferenceType producer,
                    java.lang.Object message)
Specified by:
deliver in interface org.globus.wsrf.NotifyCallback

stop

public void stop()

setNotificationStyle

public void setNotificationStyle(short notificationStyle)