|Unity uClientCore > SocketListener|
|onConnectSuccess(e)||Occurs when a socket connection attempt succeeds.|
|onConnectFailure(e)||Occurs when a socket connection attempt fails.|
|onServerKillConnect(e)||Occurs when Unity closes the connection to the client.|
|onClientKillConnect(e)||Occurs when the client closes the connection to Unity.|
|onXML(e)||Occurs when Flash receives raw XML that is not formatted as a UPC.|
|onUPC(e)||Occurs when Flash receives a UPC.|
By default, UClient implements the SocketListener interface, providing log information for each event. To customize the behaviour of a SocketListener method in a UClient subclass, simply override the desired method.