* Resolves given session id into an ip:port combination, if ip:port is set, it won't be translated
*
* @param $sessionId Session id or ip:port combination
- * @param $protocol Name of the used protocol (TCP/UDP)
* @return $recipient Recipient as ip:port combination
* @throws InvalidSessionIdException If the provided session id is invalid (and no ip:port combination)
* @throws NoValidHostnameException If the provided hostname cannot be resolved into an IP address
*/
- public static function resolveSessionId ($sessionId, $protocol) {
+ public static function resolveSessionId ($sessionId) {
// Get an own instance
$selfInstance = self::getSelfInstance();