Package rocks.imsofa.sjl
Class RemotePacket
java.lang.Object
rocks.imsofa.sjl.RemotePacket
a RemotePacket is a message forwarded from the server to this app
can either be an action response or an action request
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionRemotePacket(ActionRequest actionRequest) RemotePacket(ActionResponse actionResponse) -
Method Summary
Modifier and TypeMethodDescriptionintgetType()voidsetActionRequest(ActionRequest actionRequest) voidsetActionResponse(ActionResponse actionResponse) voidsetType(int type)
-
Field Details
-
ACTION_RESPONSE
public static final int ACTION_RESPONSE- See Also:
-
ACTION_REQUEST
public static final int ACTION_REQUEST- See Also:
-
-
Constructor Details
-
RemotePacket
-
RemotePacket
-
RemotePacket
public RemotePacket()
-
-
Method Details
-
getType
public int getType() -
setType
public void setType(int type) -
getActionRequest
-
setActionRequest
-
getActionResponse
-
setActionResponse
-