/src/SkynetUser/MyListener.php
public function onConnect($conn = null)
{
/* code executed after connection to cluster */
}
To get raw data from connection use:
/src/SkynetUser/MyListener.php
public function onConnect($conn = null)
{
$rawData = $conn->getData();
}
To get address of connection:
/src/SkynetUser/MyListener.php
public function onConnect($conn = null)
{
$address = $conn->getUrl();
}
More available API methods you will find in API Documentation.