org.xnap.plugin.joscar.msg
Class JOscarMessageQueue

java.lang.Object
  extended by org.xnap.plugin.joscar.msg.JOscarMessageQueue

public class JOscarMessageQueue
extends java.lang.Object


Constructor Summary
JOscarMessageQueue()
           
 
Method Summary
 void addMessage(JOscarMessage message)
           
 void addMessage(java.lang.String uin, java.lang.String message)
           
 void addSMS(java.lang.String uin, java.lang.String message)
           
 void addUser(java.lang.String uin)
           
 void clear()
           
 JOscarMessage getMessage()
          Returns the next message to send to the icq server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JOscarMessageQueue

public JOscarMessageQueue()
Method Detail

clear

public void clear()

addMessage

public void addMessage(java.lang.String uin,
                       java.lang.String message)

addSMS

public void addSMS(java.lang.String uin,
                   java.lang.String message)

addUser

public void addUser(java.lang.String uin)

addMessage

public void addMessage(JOscarMessage message)

getMessage

public JOscarMessage getMessage()
                         throws java.lang.InterruptedException
Returns the next message to send to the icq server.

Throws:
java.lang.InterruptedException - if the thread waiting for the next message was interrupted.


Copyright © 2001-2005 XNap Team. All Rights Reserved.