org.globus.wsrf.client
Class Subscribe

java.lang.Object
  extended byorg.globus.wsrf.client.BaseClient
      extended byorg.globus.wsrf.client.Subscribe
All Implemented Interfaces:
NotifyCallback

public class Subscribe
extends BaseClient
implements NotifyCallback


Field Summary
private static QName NAME
           
private static org.apache.commons.cli.Option RES_DESC_FILE
           
private static org.apache.commons.cli.Option SUB_EPR_FILE
           
 
Fields inherited from class org.globus.wsrf.client.BaseClient
ANON, ANON_DESC, anonymous, APPLICATION_ERROR, authorization, AUTHZ, AUTHZ_DESC, COMMAND_LINE_ERROR, CONTEXT, CONTEXT_DESC, contextLifetime, CONV_ACTOR, CONV_ACTOR_DESC, convActor, customUsage, DEBUG, debugMode, DELEG, DELEG_DESC, delegation, DESCRIPTOR, DESCRIPTOR_DESC, descriptorFile, endpoint, EPR_FILE, FILENAME_DESC, helpFooter, helpHeader, mechanism, MECHANISM, MECHANISM_DESC, MSG_ACTOR, MSG_ACTOR_DESC, msgActor, options, protection, PROTECTION, PROTECTION_DESC, PUB_KEY_FILE, publicKeyFilename, RESOURCE_KEY, SERVICE_URL
 
Constructor Summary
Subscribe()
           
 
Method Summary
 void deliver(List topicPath, EndpointReferenceType producer, Object message)
          Deliver the notification message
static void main(String[] args)
           
 
Methods inherited from class org.globus.wsrf.client.BaseClient
displayUsage, getEPR, isDebugMode, parse, parse, setCustomUsage, setHelpFooter, setHelpHeader, setOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

private static final QName NAME

SUB_EPR_FILE

private static final org.apache.commons.cli.Option SUB_EPR_FILE

RES_DESC_FILE

private static final org.apache.commons.cli.Option RES_DESC_FILE
Constructor Detail

Subscribe

public Subscribe()
Method Detail

main

public static void main(String[] args)

deliver

public void deliver(List topicPath,
                    EndpointReferenceType producer,
                    Object message)
Description copied from interface: NotifyCallback
Deliver the notification message

Specified by:
deliver in interface NotifyCallback
Parameters:
topicPath - The topic path for the topic that generated the notification
producer - The producer endpoint reference
message - The notification message