tigase.server.amp.cond
Class MatchResource

java.lang.Object
  extended by tigase.server.amp.cond.MatchResource
All Implemented Interfaces:
AmpFeatureIfc, ConditionIfc

public class MatchResource
extends Object
implements ConditionIfc

Created: Apr 27, 2010 5:36:54 PM

Version:
$Rev$
Author:
Artur Hefczyc

Field Summary
 
Fields inherited from interface tigase.server.amp.AmpFeatureIfc
ACTION_ATT, AMP_MSG_REPO_URI_PARAM, AMP_MSG_REPO_URI_PROP_KEY, AMP_XMLNS, CONDITION_ATT, EXPIRED, FROM_CONN_ID, MSG_OFFLINE_PROP_KEY, OFFLINE, TO_CONN_ID, TO_RES
 
Constructor Summary
MatchResource()
           
 
Method Summary
 String getName()
          Method description
 boolean match(Packet packet, tigase.xml.Element rule)
          Method description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchResource

public MatchResource()
Method Detail

getName

public String getName()
Method description

Specified by:
getName in interface AmpFeatureIfc
Returns:

match

public boolean match(Packet packet,
                     tigase.xml.Element rule)
Method description

Specified by:
match in interface ConditionIfc
Parameters:
packet -
rule -
Returns:


Copyright © 2013 Tigase. All rights reserved.