Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.icq
Class VolatileBuddy

java.lang.Object
  extended by net.java.sip.communicator.impl.protocol.icq.VolatileBuddy
All Implemented Interfaces:
net.kano.joustsim.oscar.oscar.service.ssi.Buddy

 class VolatileBuddy
extends Object
implements net.kano.joustsim.oscar.oscar.service.ssi.Buddy

Implements the buddy interface as a means of providing volatile contacts.

Author:
Emil Ivov

Constructor Summary
VolatileBuddy(net.kano.joustsim.Screenname screenname)
          Constructs a VolatileBuddy from the specified screenname.
 
Method Summary
 void addBuddyListener(net.kano.joustsim.oscar.oscar.service.ssi.BuddyListener listener)
           
 int getAlertActionMask()
           
 int getAlertEventMask()
           
 String getAlertSound()
           
 String getAlias()
          Returns the screenname of this contact
 String getBuddyComment()
           
 net.kano.joustsim.oscar.oscar.service.ssi.BuddyList getBuddyList()
           
 net.kano.joustsim.Screenname getScreenname()
          Returns the screenname of this contact.
 boolean isActive()
           
 boolean isAwaitingAuthorization()
           
 void removeBuddyListener(net.kano.joustsim.oscar.oscar.service.ssi.BuddyListener listener)
           
 void setAwaitingAuthorization(boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VolatileBuddy

public VolatileBuddy(net.kano.joustsim.Screenname screenname)
Constructs a VolatileBuddy from the specified screenname.

Parameters:
screenname - the screenname to construct the buddy from.
Method Detail

getAlias

public String getAlias()
Returns the screenname of this contact

Specified by:
getAlias in interface net.kano.joustsim.oscar.oscar.service.ssi.Buddy
Returns:
this contact's screen name.

getScreenname

public net.kano.joustsim.Screenname getScreenname()
Returns the screenname of this contact.

Specified by:
getScreenname in interface net.kano.joustsim.oscar.oscar.service.ssi.Buddy
Returns:
the Screenname of this contact.

addBuddyListener

public void addBuddyListener(net.kano.joustsim.oscar.oscar.service.ssi.BuddyListener listener)
Specified by:
addBuddyListener in interface net.kano.joustsim.oscar.oscar.service.ssi.Buddy

getAlertActionMask

public int getAlertActionMask()
Specified by:
getAlertActionMask in interface net.kano.joustsim.oscar.oscar.service.ssi.Buddy

getAlertEventMask

public int getAlertEventMask()
Specified by:
getAlertEventMask in interface net.kano.joustsim.oscar.oscar.service.ssi.Buddy

getAlertSound

public String getAlertSound()
Specified by:
getAlertSound in interface net.kano.joustsim.oscar.oscar.service.ssi.Buddy

getBuddyComment

public String getBuddyComment()
Specified by:
getBuddyComment in interface net.kano.joustsim.oscar.oscar.service.ssi.Buddy

getBuddyList

public net.kano.joustsim.oscar.oscar.service.ssi.BuddyList getBuddyList()
Specified by:
getBuddyList in interface net.kano.joustsim.oscar.oscar.service.ssi.Buddy

isActive

public boolean isActive()
Specified by:
isActive in interface net.kano.joustsim.oscar.oscar.service.ssi.Buddy

removeBuddyListener

public void removeBuddyListener(net.kano.joustsim.oscar.oscar.service.ssi.BuddyListener listener)
Specified by:
removeBuddyListener in interface net.kano.joustsim.oscar.oscar.service.ssi.Buddy

isAwaitingAuthorization

public boolean isAwaitingAuthorization()
Specified by:
isAwaitingAuthorization in interface net.kano.joustsim.oscar.oscar.service.ssi.Buddy

setAwaitingAuthorization

public void setAwaitingAuthorization(boolean value)

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.