Unity uClientCore > SocketEvent

SocketEvent Class

Extends

org.moock.event.EventObject

Constructor

SocketEvent(src, XMLobj, UPC)

Arguments

src
A reference to the object that generated the event (normally an instance of SocketManager).
XMLobj
The XML object hierarchy that was received, or null if no XML was received or the XML received is a UPC.
UPC
The UPC that was received (as an XML object hierarchy) or null if no UPC was received.

Methods

getXML() Returns the XML object hierarchy that was received by the socket.
getUPC() Returns the UPC (as an XML object hierarchy) that was received by the socket.

Description

Contains information about a specific SocketListener event, such as onUPC() or onConnectSuccess(). Passed to all SocketListener objects that have registered to receive events via SocketManager.addSocketListener().

Documentation Version

1.0.0