org.walluck.oscar
Class ListenerEntry

java.lang.Object
  extended by org.walluck.oscar.ListenerEntry

public class ListenerEntry
extends Object

Creates listener entries to listen for specific SNAC events.

Since:
1.0
Version:
1.0
Author:
David Walluck

Constructor Summary
ListenerEntry(int family, int subtype)
          Creates a new ListenerEntry.
 
Method Summary
 int getFamily()
          Get the value of family.
 ArrayList getListeners()
          Get the value of listeners.
 int getSubtype()
          Get the value of subtype.
 void setFamily(int family)
          Set the value of family.
 void setListeners(ArrayList listeners)
          Set the value of listeners.
 void setSubtype(int subtype)
          Set the value of subtype.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerEntry

public ListenerEntry(int family,
                     int subtype)
Creates a new ListenerEntry.

Parameters:
family - the SNAC family
subtype - the SNAC subtype
Method Detail

getFamily

public int getFamily()
Get the value of family.

Returns:
value of family.

setFamily

public void setFamily(int family)
Set the value of family.

Parameters:
family - Value to assign to family.

getSubtype

public int getSubtype()
Get the value of subtype.

Returns:
value of subtype.

setSubtype

public void setSubtype(int subtype)
Set the value of subtype.

Parameters:
subtype - Value to assign to subtype.

getListeners

public ArrayList getListeners()
Get the value of listeners.

Returns:
value of listeners.

setListeners

public void setListeners(ArrayList listeners)
Set the value of listeners.

Parameters:
listeners - Value to assign to listeners.