org.filteredpush.triage
Class FPNetworkAccessPoint

java.lang.Object
  extended by org.filteredpush.triage.FPNetworkAccessPoint
All Implemented Interfaces:
FPNetworkAccessPointRemote

public class FPNetworkAccessPoint
extends java.lang.Object
implements FPNetworkAccessPointRemote

Concrete implementation of NetworkAccessPoint for a FilteredPush network instance.

Author:
mole, dlowery $Id: FPNetworkAccessPoint.java 2003 2013-02-13 21:07:38Z dlowery $

Constructor Summary
FPNetworkAccessPoint()
           
 
Method Summary
 java.lang.String acceptMessage(FPMessage message, ClientIdentity origin)
          Takes an FPMessage and a ClientIdentity as arguments and passes them along to the triage processor to process the message.
 java.util.ArrayList<FPMessage> checkForMessages(java.lang.String topic, java.util.Date timestamp, ClientIdentity requestor)
          Will invoke the messaging system to check for messages that meet the topic supplied as an argument (uuid handle).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FPNetworkAccessPoint

public FPNetworkAccessPoint()
Method Detail

acceptMessage

public java.lang.String acceptMessage(FPMessage message,
                                      ClientIdentity origin)
Takes an FPMessage and a ClientIdentity as arguments and passes them along to the triage processor to process the message.

Specified by:
acceptMessage in interface FPNetworkAccessPointRemote
Parameters:
message -
origin - Identity of the originator
Throws:
JobExecutionException

checkForMessages

public java.util.ArrayList<FPMessage> checkForMessages(java.lang.String topic,
                                                       java.util.Date timestamp,
                                                       ClientIdentity requestor)
Will invoke the messaging system to check for messages that meet the topic supplied as an argument (uuid handle).

Specified by:
checkForMessages in interface FPNetworkAccessPointRemote
Parameters:
topic - to check for messages
date -
requestor - identity of the requesting party
Returns:
list of messages found on the topic