com.zion.jbuddy
Interface IMsnClient

All Superinterfaces:
IClient

public interface IMsnClient
extends IClient

Provides access to features specific to the MSN protocol.

An IClient can be casted to an IMsnClient if the specified protocol is MSN.

// creates an IMsnClient IClient client = IClientFactory.factory(gateway, IClient.MSN, username, password); IMsnClient msnClient = (IMsnClient)client;


Field Summary
 
Fields inherited from interface com.zion.jbuddy.IClient
AIM, CONNECTION_CLOSED_REASON, DISCONNECT_REASON, FAILED_LOGIN_REASON, ICQ, JABBER, JSC, LCS, MSN, NETWORK_ERROR_REASON, PLAIN_TEXT, RICH_TEXT, SAMETIME, SERVICE_TEMPORARILY_UNAVAILABLE_REASON, UNKNOWN_REASON, USER_BOOTED_REASON, YIM
 
Method Summary
 void endConversation(String username)
          Ends a conversation with a user.
 IMsnActivityService getActivityService()
          Returns the client's Activity Service, allowing the client to create outgoing Activity Sessions and receive invitations to Activity Sessions from other users.
 IBuddyList getReverseList()
          Returns a reference to this client's Reverse List.
 
Methods inherited from interface com.zion.jbuddy.IClient
addBuddy, addBuddyToList, addDeny, addFileSessionInvitationListener, addGateway, addPermit, connect, connect, createFileSession, disconnect, getBuddyList, getConferenceService, getCustomAwayMessage, getDenyList, getIdleTimeStamp, getName, getNickName, getPassword, getPermitList, getPermitMode, getPlainTextMode, getProtocol, getProtocolName, getSignOnTimeStamp, getStatus, getStatusAsString, getStatusTimeStamp, isOnline, isSecure, numberOfMessagesReceived, numberOfMessagesSent, removeBuddy, removeBuddyFromList, removeDeny, removeFileSessionInvitationListener, removeGateway, removePermit, sendConfigToServer, sendIM, sendMessage, setKeepAliveInterval, setNickName, setPermitMode, setPlainTextMode, setSecure, setStatus
 

Method Detail

getReverseList

IBuddyList getReverseList()
Returns a reference to this client's Reverse List.

The list contains the users who have registered interest in our online state. It is populated by the server during the connection process. After connecting, users that add us to their Buddy Lists are added to this list; users who remove us from their Buddy Lists are removed from it.


endConversation

void endConversation(String username)
Ends a conversation with a user.

A connection is automatically opened with a user when sending or receiving messages. This closes that connection. Use this when the connection is no longer needed (such as when closing a UI message window).

Since:
2.2

getActivityService

IMsnActivityService getActivityService()
Returns the client's Activity Service, allowing the client to create outgoing Activity Sessions and receive invitations to Activity Sessions from other users.

Since:
6.0


JBuddy is a trademark of Zion Software, LLC in the US and other countries.
Copyright 2000-2012 Zion Software, LLC All Rights Reserved.