Class AddBuddyRequest

java.lang.Object
sfs3.client.requests.BaseRequest
sfs3.client.requests.buddylist.AddBuddyRequest
All Implemented Interfaces:
sfs3.client.requests.IClientRequest

public class AddBuddyRequest extends BaseRequest
Adds a new buddy to the current user's buddies list.

In order to add a buddy, the current user must be online in the Buddy List system. If the buddy is added successfully, the operation is confirmed by a buddyAdd event; otherwise the buddyError event is fired.

NOTE: this request can be sent if the Buddy List system was previously initialized only (see the InitBuddyListRequest request description).

See Also: