net.sf.dexterim.core
Interface ContactState


public interface ContactState

Author:
Christoph Walcher

Method Summary
 ContactState changeState(java.lang.Object state)
          Is called when the im system receives a state change command for a given contact and returns the new state.
 boolean isOffline()
          Convenience method the see wheater a contact is online or offline
 boolean isOnline()
          Convenience method the see wheater a contact is online or offline
 

Method Detail

isOnline

public boolean isOnline()
Convenience method the see wheater a contact is online or offline

Returns:
true if this is an online state or false if it is not.

isOffline

public boolean isOffline()
Convenience method the see wheater a contact is online or offline

Returns:
true if this is an Offline state or false if it is not.

changeState

public ContactState changeState(java.lang.Object state)
Is called when the im system receives a state change command for a given contact and returns the new state.

Parameters:
state - the new state of the contact
Returns:
new State object


Copyright © 2003-2004 Dexter IM Team. All Rights Reserved.