edu.harvard.mcz.fp2.triage
Class FPNetworkAccessPointWebService

java.lang.Object
  extended by edu.harvard.mcz.fp2.triage.FPNetworkAccessPointWebService

public class FPNetworkAccessPointWebService
extends Object

This SOAP web service acts as an interface to the FPNetworkAccessPoint.

Author:
mole

Constructor Summary
FPNetworkAccessPointWebService()
           
 
Method Summary
 String acceptMessage(String type, String messageUUID, Date date, String content, String scheme, String originatorUUID, edu.harvard.mcz.fp2.identity.ClientIdentity origin)
           
 ArrayList<edu.harvard.mcz.fp2.message.FPMessage> checkForMessages(String topic, edu.harvard.mcz.fp2.identity.ClientIdentity requestor)
          Check for messages allows a client to poll for any messages assigned a given UUID (handle).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FPNetworkAccessPointWebService

public FPNetworkAccessPointWebService()
Method Detail

acceptMessage

public String acceptMessage(String type,
                            String messageUUID,
                            Date date,
                            String content,
                            String scheme,
                            String originatorUUID,
                            edu.harvard.mcz.fp2.identity.ClientIdentity origin)

checkForMessages

public ArrayList<edu.harvard.mcz.fp2.message.FPMessage> checkForMessages(String topic,
                                                                         edu.harvard.mcz.fp2.identity.ClientIdentity requestor)
Check for messages allows a client to poll for any messages assigned a given UUID (handle). Check for messages will return all messages currently in the messaging system that are associated with the handle. The handle corresponds to the topic argument.

Parameters:
topic - to check for messages
requestor - identity of the requesting party
Returns:
list of messages found on the topic


Copyright © 2012. All Rights Reserved.