public void run() { for (; ;) { try { Socket myServerSocket = this._enclosing.socket; if (myServerSocket == null) { break; } Socket newSocket = myServerSocket.Accept(); OncRpcTcpConnectionServerTransport transport = new OncRpcTcpConnectionServerTransport (this._enclosing.dispatcher, newSocket, this._enclosing.info, this._enclosing.bufferSize , this._enclosing, this._enclosing.transmissionTimeout); lock (this._enclosing.openTransports) { this._enclosing.openTransports.add((object)transport); } transport.listen(); } catch (org.acplt.oncrpc.OncRpcException) { } catch (SocketException) { // If the socket has been closed and set to null, don't bother // notifying anybody because we're shutting down if (this._enclosing.socket == null) { break; } } } }
public _TransportHelper(OncRpcTcpConnectionServerTransport _enclosing) { this._enclosing = _enclosing; }
public void run() { for (; ; ) { try { Socket myServerSocket = this._enclosing.socket; if (myServerSocket == null) { break; } Socket newSocket = myServerSocket.Accept(); OncRpcTcpConnectionServerTransport transport = new OncRpcTcpConnectionServerTransport (this._enclosing.dispatcher, newSocket, this._enclosing.info, this._enclosing.bufferSize , this._enclosing, this._enclosing.transmissionTimeout); lock (this._enclosing.openTransports) { this._enclosing.openTransports.add((object)transport); } transport.listen(); } catch (org.acplt.oncrpc.OncRpcException) { } catch (SocketException) { // If the socket has been closed and set to null, don't bother // notifying anybody because we're shutting down if (this._enclosing.socket == null) { break; } } } }
public _TransportHelper(OncRpcTcpConnectionServerTransport _enclosing) { this._enclosing = _enclosing; }