org.gcube.common.core.porttypes
Class GCUBENotificationProvider

java.lang.Object
  extended by org.gcube.common.core.porttypes.GCUBEProvider
      extended by org.gcube.common.core.porttypes.GCUBENotificationProvider

public class GCUBENotificationProvider
extends GCUBEProvider

Extends GCUBEProvider for port-types that accept topic subscriptions and produce corresponding notifications.

Author:
Fabio Simeoni (University of Strathclyde)

Field Summary
 
Fields inherited from class org.gcube.common.core.porttypes.GCUBEProvider
destroyProvider, getMultipleRPProvider, getRPProvider, queryRPProvider, setRPProvider, terminationTimeProvider
 
Constructor Summary
GCUBENotificationProvider()
           
 
Method Summary
 org.oasis.wsn.GetCurrentMessageResponse getCurrentMessage(org.oasis.wsn.GetCurrentMessage arg0)
          Dispatches the invocation to the corresponding GLOBUS provider.
 org.oasis.wsn.SubscribeResponse subscribe(org.oasis.wsn.Subscribe arg0)
          Dispatches the invocation to the corresponding GLOBUS provider.
 
Methods inherited from class org.gcube.common.core.porttypes.GCUBEProvider
destroy, getMultipleResourceProperties, getResourceProperty, queryResourceProperties, setResourceProperties, setTerminationTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GCUBENotificationProvider

public GCUBENotificationProvider()
Method Detail

subscribe

public org.oasis.wsn.SubscribeResponse subscribe(org.oasis.wsn.Subscribe arg0)
                                          throws RemoteException,
                                                 org.oasis.wsn.ResourceUnknownFaultType,
                                                 org.oasis.wsn.SubscribeCreationFailedFaultType,
                                                 org.oasis.wsn.TopicPathDialectUnknownFaultType,
                                                 org.oasis.wsn.InvalidTopicExpressionFaultType,
                                                 org.oasis.wsn.TopicNotSupportedFaultType
Dispatches the invocation to the corresponding GLOBUS provider.

Parameters:
arg0 - the provider's input,as per WSRF specifications.
Returns:
the provider's output,as per WSRF specifications.
Throws:
RemoteException
org.oasis.wsn.ResourceUnknownFaultType
org.oasis.wsn.SubscribeCreationFailedFaultType
org.oasis.wsn.TopicNotSupportedFaultType
org.oasis.wsn.InvalidTopicExpressionFaultType
org.oasis.wsn.TopicNotSupportedFaultType
org.oasis.wsn.TopicPathDialectUnknownFaultType

getCurrentMessage

public org.oasis.wsn.GetCurrentMessageResponse getCurrentMessage(org.oasis.wsn.GetCurrentMessage arg0)
                                                          throws RemoteException,
                                                                 org.oasis.wsn.ResourceUnknownFaultType,
                                                                 org.oasis.wsn.InvalidTopicExpressionFaultType,
                                                                 org.oasis.wsn.TopicNotSupportedFaultType,
                                                                 org.oasis.wsn.NoCurrentMessageOnTopicFaultType
Dispatches the invocation to the corresponding GLOBUS provider.

Parameters:
arg0 - the provider's input,as per WSRF specifications.
Returns:
the provider's output,as per WSRF specifications.
Throws:
RemoteException
org.oasis.wsn.ResourceUnknownFaultType
org.oasis.wsn.InvalidTopicExpressionFaultType
org.oasis.wsn.TopicNotSupportedFaultType
org.oasis.wsn.NoCurrentMessageOnTopicFaultType


Copyright © 2013. All Rights Reserved.