public static PlayerSession createFromSocketWithOptions(Socket s,IDebuggerCallbacks debuggerCallbacks,SessionManager sessionManager) throws IOException {
  DProtocol proto=DProtocol.createFromSocket(s,sessionManager);
  return createFromSocketHelper(s,debuggerCallbacks,proto);
}

public static PlayerSession createFromSocketWithOptions ( Socket s , IDebuggerCallbacks debuggerCallbacks , SessionManager sessionManager ) throws IOException { DProtocol proto = DProtocol . createFromSocket ( s , sessionManager ) ; return createFromSocketHelper ( s , debuggerCallbacks , proto ) ; }
creates a session from the socket . sets session specific socket settings and stores the callback object .
