Package tigase.server.amp.cond

# Class MatchResource

java.lang.Object
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

Author:
  Artur Hefczyc

- ## Field Summary

  ### Fields inherited from interface tigase.server.amp.AmpFeatureIfc

  `ACTION_ATT, AMP_MSG_REPO_CLASS_PARAM, AMP_MSG_REPO_CLASS_PROP_KEY, AMP_MSG_REPO_URI_PARAM, AMP_MSG_REPO_URI_PROP_KEY, AMP_XMLNS, CONDITION_ATT, EXPIRED, FROM_CONN_ID, MSG_OFFLINE_PROP_KEY, OFFLINE, SESSION_JID, TO_CONN_ID, TO_RES`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MatchResource()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getName()`
  `boolean`
  `match(Packet packet, Element rule)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MatchResource

    public MatchResource()

- ## Method Details

  - ### getName

    public String getName()
    Specified by:
      `getName` in interface `AmpFeatureIfc`

  - ### match

    public boolean match(Packet packet, Element rule)
    Specified by:
      `match` in interface `ConditionIfc`