Class GoOnlineRequest

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

public class GoOnlineRequest extends BaseRequest
Toggles the current user's online/offline state as buddy in other users' buddies lists.

All clients who have the current user as buddy in their buddies list will receive the buddyOnlineStateChange event and see the Buddy.isOnline property change accordingly. The same event is also dispatched to the current user, who sent the request, so that the application interface can be updated accordingly. Going online/offline as buddy doesn't affect the user connection, the currently joined Zone and Rooms, etc.

The online state of a user in a buddy list is handled by means of a reserved and persistent Buddy Variable.

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

See Also: