java.lang.Object
org.jabber.jabberbeans.IQBean
- All Implemented Interfaces:
- java.io.Serializable
- public class IQBean
- extends java.lang.Object
- implements java.io.Serializable
IQBean is a bean used to utilize the 'iq' functionality of the jabber
protocol. IQ is used for setting and reading values, including user
information (for logging on).
IQBean, like most of the other beans in jabberbeans, relies on
ConnectionBean to provide the actual network socket to the server. IQBean
will not operate until a connection is set.
- Version:
- $Revision: 1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connection
private ConnectionBean connection
IQListeners
private java.util.Vector IQListeners
rebroadcaster
private PacketListener rebroadcaster
IQBean
public IQBean()
IQBean
public IQBean(ConnectionBean connection)
send
public void send(InfoQuery packet)
throws java.io.IOException
setConnection
public void setConnection(ConnectionBean connection)
getConnection
public ConnectionBean getConnection()
addPacketListener
public void addPacketListener(PacketListener l)
removePacketListener
public void removePacketListener(PacketListener l)
fireReceivedIQ
public void fireReceivedIQ(Packet l)
fireSentIQ
public void fireSentIQ(Packet l)