org.eclipse.ecf.presence.im
Interface IChatID

All Known Implementing Classes:
XMPPID, XMPPRoomID, XMPPSID

public interface IChatID

Adapter interface for chatIDs. The typical usage of this adapter is as follows:

      ID myID = ...
      IChatID chatID = (IChatID) myID.getAdapter(IChatID.class);
      if (chatID != null) {
        ...use chatID here
      }
 


Method Summary
 java.lang.String getHostname()
          Get hostname for this IChatID
 java.lang.String getUsername()
          Get username for this IChatID
 

Method Detail

getUsername

java.lang.String getUsername()
Get username for this IChatID

Returns:
String username for the implementing IChatID. May return null.

getHostname

java.lang.String getHostname()
Get hostname for this IChatID

Returns:
String hostname for the implementing IChatID. May return null.