Package sfs3.client.core
Class ApiEvent
java.lang.Object
sfs3.client.core.ApiEvent
- Direct Known Subclasses:
SFSBuddyEvent,SFSEvent
This is the base class of all the events dispatched by the SmartFoxServer 3
Java Client API. In particular, check the SFSEvent and
SFSBuddyEvent children classes for more information.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
-
target
-
-
Constructor Details
-
ApiEvent
- Internal
-
ApiEvent
- Parameters:
type- The type of event.params- An object containing the parameters of the event.- Internal
-
-
Method Details
-
getTarget
- Internal
-
setTarget
- Internal
-
getType
Returns the type of the event.- Returns:
- A string representing the type of the event.
-
toString
Generates a string containing all the properties of the BaseEvent object. -
clone
-
setParams
- Internal
-
getParams
Returns a Map<String, Object> containing the parameters of the event.- Returns:
- A Map<String, Object> containing the parameters of the event.
-
getParam
-