Signed-off-by: Roland Haeder <roland@mxchange.org>
$searchInstance->addCriteria(self::DB_COLUMN_EXTERNAL_IP, $ipPort[0]);
$searchInstance->addCriteria(self::DB_COLUMN_LISTEN_PORT, $ipPort[1]);
$searchInstance->addCriteria(self::DB_COLUMN_NODE_ID , $nodeInstance->getNodeId());
$searchInstance->addCriteria(self::DB_COLUMN_EXTERNAL_IP, $ipPort[0]);
$searchInstance->addCriteria(self::DB_COLUMN_LISTEN_PORT, $ipPort[1]);
$searchInstance->addCriteria(self::DB_COLUMN_NODE_ID , $nodeInstance->getNodeId());
+ $searchInstance->addCriteria(self::DB_COLUMN_SESSION_ID , $nodeInstance->getSessionId());
$searchInstance->setLimit(1);
// Query database and get a result instance back
$searchInstance->setLimit(1);
// Query database and get a result instance back