Package sfs2x.client.requests
Class BaseRequest
- java.lang.Object
-
- sfs2x.client.requests.BaseRequest
-
- All Implemented Interfaces:
sfs2x.client.requests.IRequest
- Direct Known Subclasses:
AddBuddyRequest
,BanUserRequest
,BlockBuddyRequest
,ChangeRoomCapacityRequest
,ChangeRoomNameRequest
,ChangeRoomPasswordStateRequest
,ClusterInviteUsersRequest
,ClusterJoinOrCreateRequest
,CreateRoomRequest
,CreateSFSGameRequest
,ExtensionRequest
,FindRoomsRequest
,FindUsersRequest
,sfs2x.client.requests.GenericMessageRequest
,GoOnlineRequest
,InitBuddyListRequest
,InvitationReplyRequest
,InviteUsersRequest
,JoinRoomInvitationRequest
,JoinRoomRequest
,KickUserRequest
,LeaveRoomRequest
,LoginRequest
,LogoutRequest
,PlayerToSpectatorRequest
,QuickGameJoinRequest
,RemoveBuddyRequest
,SetBuddyVariablesRequest
,SetRoomVariablesRequest
,SetUserPositionRequest
,SetUserVariablesRequest
,SpectatorToPlayerRequest
,SubscribeRoomGroupRequest
,UnsubscribeRoomGroupRequest
public abstract class BaseRequest extends java.lang.Object implements sfs2x.client.requests.IRequest
-
-
Field Summary
Fields Modifier and Type Field Description static int
AddBuddy
*Private*static int
AdminMessage
*Private*static int
AutoJoin
*Private*static int
BanUser
*Private*static int
BlockBuddy
*Private*static int
CallExtension
*Private*static int
ChangeRoomCapacity
*Private*static int
ChangeRoomName
*Private*static int
ChangeRoomPassword
*Private*static int
ClusterInviteUsers
static int
ClusterJoinOrCreate
static int
CreateRoom
*Private*static int
CreateSFSGame
*Private*static int
FindRooms
*Private*static int
FindUsers
*Private*static int
GameServerConnectionRequired
static int
GenericMessage
*Private*static int
GetRoomList
*Private*static int
GoOnline
*Private*static int
Handshake
*Private*static int
InitBuddyList
*Private*static int
InvitationReply
*Private*static int
InviteUser
*Private*static int
JoinRoom
*Private*static int
JoinRoomInvite
*Private*static java.lang.String
KEY_ERROR_CODE
*Private*static java.lang.String
KEY_ERROR_PARAMS
*Private*static int
KickUser
*Private*static int
LeaveRoom
*Private*static int
Login
*Private*static int
Logout
*Private*static int
ManualDisconnection
*Private*static int
ModeratorMessage
*Private*static int
ObjectMessage
*Private*static int
PingPong
*Private*static int
PlayerToSpectator
*Private*static int
PrivateMessage
*Private*static int
PublicMessage
*Private*static int
QuickJoinGame
*Private*static int
QuickJoinOrCreateRoom
*Private*static int
RemoveBuddy
*Private*static int
SetBuddyVariables
*Private*static int
SetRoomVariables
*Private*static int
SetUserPosition
*Private*static int
SetUserVariables
*Private*static int
SpectatorToPlayer
*Private*static int
SubscribeRoomGroup
*Private*static int
UnsubscribeRoomGroup
*Private*
-
Constructor Summary
Constructors Constructor Description BaseRequest(int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getId()
sfs2x.client.bitswarm.IMessage
getMessage()
int
getTargetController()
boolean
isEncrypted()
void
setEncrypted(boolean encrypted)
void
setId(int id)
void
setTargetController(int target)
-
-
-
Field Detail
-
Handshake
public static final int Handshake
*Private*- See Also:
- Constant Field Values
-
Login
public static final int Login
*Private*- See Also:
- Constant Field Values
-
Logout
public static final int Logout
*Private*- See Also:
- Constant Field Values
-
GetRoomList
public static final int GetRoomList
*Private*- See Also:
- Constant Field Values
-
JoinRoom
public static final int JoinRoom
*Private*- See Also:
- Constant Field Values
-
AutoJoin
public static final int AutoJoin
*Private*- See Also:
- Constant Field Values
-
CreateRoom
public static final int CreateRoom
*Private*- See Also:
- Constant Field Values
-
GenericMessage
public static final int GenericMessage
*Private*- See Also:
- Constant Field Values
-
ChangeRoomName
public static final int ChangeRoomName
*Private*- See Also:
- Constant Field Values
-
ChangeRoomPassword
public static final int ChangeRoomPassword
*Private*- See Also:
- Constant Field Values
-
ObjectMessage
public static final int ObjectMessage
*Private*- See Also:
- Constant Field Values
-
SetRoomVariables
public static final int SetRoomVariables
*Private*- See Also:
- Constant Field Values
-
SetUserVariables
public static final int SetUserVariables
*Private*- See Also:
- Constant Field Values
-
CallExtension
public static final int CallExtension
*Private*- See Also:
- Constant Field Values
-
LeaveRoom
public static final int LeaveRoom
*Private*- See Also:
- Constant Field Values
-
SubscribeRoomGroup
public static final int SubscribeRoomGroup
*Private*- See Also:
- Constant Field Values
-
UnsubscribeRoomGroup
public static final int UnsubscribeRoomGroup
*Private*- See Also:
- Constant Field Values
-
SpectatorToPlayer
public static final int SpectatorToPlayer
*Private*- See Also:
- Constant Field Values
-
PlayerToSpectator
public static final int PlayerToSpectator
*Private*- See Also:
- Constant Field Values
-
ChangeRoomCapacity
public static final int ChangeRoomCapacity
*Private*- See Also:
- Constant Field Values
-
PublicMessage
public static final int PublicMessage
*Private*- See Also:
- Constant Field Values
-
PrivateMessage
public static final int PrivateMessage
*Private*- See Also:
- Constant Field Values
-
ModeratorMessage
public static final int ModeratorMessage
*Private*- See Also:
- Constant Field Values
-
AdminMessage
public static final int AdminMessage
*Private*- See Also:
- Constant Field Values
-
KickUser
public static final int KickUser
*Private*- See Also:
- Constant Field Values
-
BanUser
public static final int BanUser
*Private*- See Also:
- Constant Field Values
-
ManualDisconnection
public static final int ManualDisconnection
*Private*- See Also:
- Constant Field Values
-
FindRooms
public static final int FindRooms
*Private*- See Also:
- Constant Field Values
-
FindUsers
public static final int FindUsers
*Private*- See Also:
- Constant Field Values
-
PingPong
public static final int PingPong
*Private*- See Also:
- Constant Field Values
-
SetUserPosition
public static final int SetUserPosition
*Private*- See Also:
- Constant Field Values
-
QuickJoinOrCreateRoom
public static final int QuickJoinOrCreateRoom
*Private*- See Also:
- Constant Field Values
-
InitBuddyList
public static final int InitBuddyList
*Private*- See Also:
- Constant Field Values
-
AddBuddy
public static final int AddBuddy
*Private*- See Also:
- Constant Field Values
-
BlockBuddy
public static final int BlockBuddy
*Private*- See Also:
- Constant Field Values
-
RemoveBuddy
public static final int RemoveBuddy
*Private*- See Also:
- Constant Field Values
-
SetBuddyVariables
public static final int SetBuddyVariables
*Private*- See Also:
- Constant Field Values
-
GoOnline
public static final int GoOnline
*Private*- See Also:
- Constant Field Values
-
InviteUser
public static final int InviteUser
*Private*- See Also:
- Constant Field Values
-
InvitationReply
public static final int InvitationReply
*Private*- See Also:
- Constant Field Values
-
CreateSFSGame
public static final int CreateSFSGame
*Private*- See Also:
- Constant Field Values
-
QuickJoinGame
public static final int QuickJoinGame
*Private*- See Also:
- Constant Field Values
-
JoinRoomInvite
public static final int JoinRoomInvite
*Private*- See Also:
- Constant Field Values
-
ClusterJoinOrCreate
public static final int ClusterJoinOrCreate
- See Also:
- Constant Field Values
-
ClusterInviteUsers
public static final int ClusterInviteUsers
- See Also:
- Constant Field Values
-
GameServerConnectionRequired
public static final int GameServerConnectionRequired
- See Also:
- Constant Field Values
-
KEY_ERROR_CODE
public static final java.lang.String KEY_ERROR_CODE
*Private*- See Also:
- Constant Field Values
-
KEY_ERROR_PARAMS
public static final java.lang.String KEY_ERROR_PARAMS
*Private*- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public int getId()
-
setId
public void setId(int id)
-
getMessage
public sfs2x.client.bitswarm.IMessage getMessage()
- Specified by:
getMessage
in interfacesfs2x.client.requests.IRequest
-
getTargetController
public int getTargetController()
- Specified by:
getTargetController
in interfacesfs2x.client.requests.IRequest
-
setTargetController
public void setTargetController(int target)
- Specified by:
setTargetController
in interfacesfs2x.client.requests.IRequest
-
isEncrypted
public boolean isEncrypted()
- Specified by:
isEncrypted
in interfacesfs2x.client.requests.IRequest
-
setEncrypted
public void setEncrypted(boolean encrypted)
- Specified by:
setEncrypted
in interfacesfs2x.client.requests.IRequest
-
-