com.sun.corba.se.pept.transport.Selector Java Examples
The following examples show how to use
com.sun.corba.se.pept.transport.Selector.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SocketOrChannelAcceptorImpl.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
public void close () { try { if (orb.transportDebugFlag) { dprint(".close->:"); } Selector selector = orb.getTransportManager().getSelector(0); selector.unregisterForEvent(this); if (serverSocketChannel != null) { serverSocketChannel.close(); } if (serverSocket != null) { serverSocket.close(); } } catch (IOException e) { if (orb.transportDebugFlag) { dprint(".close:", e); } } finally { if (orb.transportDebugFlag) { dprint(".close<-:"); } } }
Example #2
Source File: SocketOrChannelAcceptorImpl.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
public void close () { try { if (orb.transportDebugFlag) { dprint(".close->:"); } Selector selector = orb.getTransportManager().getSelector(0); selector.unregisterForEvent(this); if (serverSocketChannel != null) { serverSocketChannel.close(); } if (serverSocket != null) { serverSocket.close(); } } catch (IOException e) { if (orb.transportDebugFlag) { dprint(".close:", e); } } finally { if (orb.transportDebugFlag) { dprint(".close<-:"); } } }
Example #3
Source File: SocketOrChannelAcceptorImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
public void close () { try { if (orb.transportDebugFlag) { dprint(".close->:"); } Selector selector = orb.getTransportManager().getSelector(0); if (selector != null) { selector.unregisterForEvent(this); } if (serverSocketChannel != null) { serverSocketChannel.close(); } if (serverSocket != null) { serverSocket.close(); } } catch (IOException e) { if (orb.transportDebugFlag) { dprint(".close:", e); } } finally { if (orb.transportDebugFlag) { dprint(".close<-:"); } } }
Example #4
Source File: SocketOrChannelConnectionImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
public void closeConnectionResources() { if (orb.transportDebugFlag) { dprint(".closeConnectionResources->: " + this); } Selector selector = orb.getTransportManager().getSelector(0); if (selector != null) { selector.unregisterForEvent(this); } try { if (socketChannel != null) socketChannel.close() ; if (socket != null && !socket.isClosed()) socket.close() ; } catch (IOException e) { if (orb.transportDebugFlag) { dprint( ".closeConnectionResources: " + this, e ) ; } } if (orb.transportDebugFlag) { dprint(".closeConnectionResources<-: " + this); } }
Example #5
Source File: SocketOrChannelConnectionImpl.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
public void closeConnectionResources() { if (orb.transportDebugFlag) { dprint(".closeConnectionResources->: " + this); } Selector selector = orb.getTransportManager().getSelector(0); selector.unregisterForEvent(this); try { if (socketChannel != null) socketChannel.close() ; if (socket != null && !socket.isClosed()) socket.close() ; } catch (IOException e) { if (orb.transportDebugFlag) { dprint( ".closeConnectionResources: " + this, e ) ; } } if (orb.transportDebugFlag) { dprint(".closeConnectionResources<-: " + this); } }
Example #6
Source File: SocketOrChannelConnectionImpl.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
public void closeConnectionResources() { if (orb.transportDebugFlag) { dprint(".closeConnectionResources->: " + this); } Selector selector = orb.getTransportManager().getSelector(0); selector.unregisterForEvent(this); try { if (socketChannel != null) socketChannel.close() ; if (socket != null && !socket.isClosed()) socket.close() ; } catch (IOException e) { if (orb.transportDebugFlag) { dprint( ".closeConnectionResources: " + this, e ) ; } } if (orb.transportDebugFlag) { dprint(".closeConnectionResources<-: " + this); } }
Example #7
Source File: SocketOrChannelAcceptorImpl.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
public void close () { try { if (orb.transportDebugFlag) { dprint(".close->:"); } Selector selector = orb.getTransportManager().getSelector(0); if (selector != null) { selector.unregisterForEvent(this); } if (serverSocketChannel != null) { serverSocketChannel.close(); } if (serverSocket != null) { serverSocket.close(); } } catch (IOException e) { if (orb.transportDebugFlag) { dprint(".close:", e); } } finally { if (orb.transportDebugFlag) { dprint(".close<-:"); } } }
Example #8
Source File: SocketOrChannelConnectionImpl.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
public void closeConnectionResources() { if (orb.transportDebugFlag) { dprint(".closeConnectionResources->: " + this); } Selector selector = orb.getTransportManager().getSelector(0); if (selector != null) { selector.unregisterForEvent(this); } try { if (socketChannel != null) socketChannel.close() ; if (socket != null && !socket.isClosed()) socket.close() ; } catch (IOException e) { if (orb.transportDebugFlag) { dprint( ".closeConnectionResources: " + this, e ) ; } } if (orb.transportDebugFlag) { dprint(".closeConnectionResources<-: " + this); } }
Example #9
Source File: SocketOrChannelAcceptorImpl.java From JDKSourceCode1.8 with MIT License | 6 votes |
public void close () { try { if (orb.transportDebugFlag) { dprint(".close->:"); } Selector selector = orb.getTransportManager().getSelector(0); if (selector != null) { selector.unregisterForEvent(this); } if (serverSocketChannel != null) { serverSocketChannel.close(); } if (serverSocket != null) { serverSocket.close(); } } catch (IOException e) { if (orb.transportDebugFlag) { dprint(".close:", e); } } finally { if (orb.transportDebugFlag) { dprint(".close<-:"); } } }
Example #10
Source File: SocketOrChannelConnectionImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
public void closeConnectionResources() { if (orb.transportDebugFlag) { dprint(".closeConnectionResources->: " + this); } Selector selector = orb.getTransportManager().getSelector(0); if (selector != null) { selector.unregisterForEvent(this); } try { if (socketChannel != null) socketChannel.close() ; if (socket != null && !socket.isClosed()) socket.close() ; } catch (IOException e) { if (orb.transportDebugFlag) { dprint( ".closeConnectionResources: " + this, e ) ; } } if (orb.transportDebugFlag) { dprint(".closeConnectionResources<-: " + this); } }
Example #11
Source File: SocketOrChannelAcceptorImpl.java From hottub with GNU General Public License v2.0 | 6 votes |
public void close () { try { if (orb.transportDebugFlag) { dprint(".close->:"); } Selector selector = orb.getTransportManager().getSelector(0); if (selector != null) { selector.unregisterForEvent(this); } if (serverSocketChannel != null) { serverSocketChannel.close(); } if (serverSocket != null) { serverSocket.close(); } } catch (IOException e) { if (orb.transportDebugFlag) { dprint(".close:", e); } } finally { if (orb.transportDebugFlag) { dprint(".close<-:"); } } }
Example #12
Source File: SocketOrChannelAcceptorImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
public void close () { try { if (orb.transportDebugFlag) { dprint(".close->:"); } Selector selector = orb.getTransportManager().getSelector(0); if (selector != null) { selector.unregisterForEvent(this); } if (serverSocketChannel != null) { serverSocketChannel.close(); } if (serverSocket != null) { serverSocket.close(); } } catch (IOException e) { if (orb.transportDebugFlag) { dprint(".close:", e); } } finally { if (orb.transportDebugFlag) { dprint(".close<-:"); } } }
Example #13
Source File: SocketOrChannelConnectionImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
public void closeConnectionResources() { if (orb.transportDebugFlag) { dprint(".closeConnectionResources->: " + this); } Selector selector = orb.getTransportManager().getSelector(0); if (selector != null) { selector.unregisterForEvent(this); } try { if (socketChannel != null) socketChannel.close() ; if (socket != null && !socket.isClosed()) socket.close() ; } catch (IOException e) { if (orb.transportDebugFlag) { dprint( ".closeConnectionResources: " + this, e ) ; } } if (orb.transportDebugFlag) { dprint(".closeConnectionResources<-: " + this); } }
Example #14
Source File: SocketOrChannelConnectionImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
public void closeConnectionResources() { if (orb.transportDebugFlag) { dprint(".closeConnectionResources->: " + this); } Selector selector = orb.getTransportManager().getSelector(0); if (selector != null) { selector.unregisterForEvent(this); } try { if (socketChannel != null) socketChannel.close() ; if (socket != null && !socket.isClosed()) socket.close() ; } catch (IOException e) { if (orb.transportDebugFlag) { dprint( ".closeConnectionResources: " + this, e ) ; } } if (orb.transportDebugFlag) { dprint(".closeConnectionResources<-: " + this); } }
Example #15
Source File: SocketOrChannelAcceptorImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
public void close () { try { if (orb.transportDebugFlag) { dprint(".close->:"); } Selector selector = orb.getTransportManager().getSelector(0); if (selector != null) { selector.unregisterForEvent(this); } if (serverSocketChannel != null) { serverSocketChannel.close(); } if (serverSocket != null) { serverSocket.close(); } } catch (IOException e) { if (orb.transportDebugFlag) { dprint(".close:", e); } } finally { if (orb.transportDebugFlag) { dprint(".close<-:"); } } }
Example #16
Source File: ListenerThreadImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public ListenerThreadImpl(ORB orb, Acceptor acceptor, Selector selector) { this.orb = orb; this.acceptor = acceptor; this.selector = selector; keepRunning = true; }
Example #17
Source File: ReaderThreadImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public ReaderThreadImpl(ORB orb, Connection connection, Selector selector) { this.orb = orb; this.connection = connection; this.selector = selector; keepRunning = true; }
Example #18
Source File: ListenerThreadImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public ListenerThreadImpl(ORB orb, Acceptor acceptor, Selector selector) { this.orb = orb; this.acceptor = acceptor; this.selector = selector; keepRunning = true; }
Example #19
Source File: ListenerThreadImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public ListenerThreadImpl(ORB orb, Acceptor acceptor, Selector selector) { this.orb = orb; this.acceptor = acceptor; this.selector = selector; keepRunning = true; }
Example #20
Source File: ListenerThreadImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public ListenerThreadImpl(ORB orb, Acceptor acceptor, Selector selector) { this.orb = orb; this.acceptor = acceptor; this.selector = selector; keepRunning = true; }
Example #21
Source File: ReaderThreadImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public ReaderThreadImpl(ORB orb, Connection connection, Selector selector) { this.orb = orb; this.connection = connection; this.selector = selector; keepRunning = true; }
Example #22
Source File: ListenerThreadImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
public ListenerThreadImpl(ORB orb, Acceptor acceptor, Selector selector) { this.orb = orb; this.acceptor = acceptor; this.selector = selector; keepRunning = true; }
Example #23
Source File: ListenerThreadImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public ListenerThreadImpl(ORB orb, Acceptor acceptor, Selector selector) { this.orb = orb; this.acceptor = acceptor; this.selector = selector; keepRunning = true; }
Example #24
Source File: ListenerThreadImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public ListenerThreadImpl(ORB orb, Acceptor acceptor, Selector selector) { this.orb = orb; this.acceptor = acceptor; this.selector = selector; keepRunning = true; }
Example #25
Source File: ReaderThreadImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public ReaderThreadImpl(ORB orb, Connection connection, Selector selector) { this.orb = orb; this.connection = connection; this.selector = selector; keepRunning = true; }
Example #26
Source File: ReaderThreadImpl.java From JDKSourceCode1.8 with MIT License | 5 votes |
public ReaderThreadImpl(ORB orb, Connection connection, Selector selector) { this.orb = orb; this.connection = connection; this.selector = selector; keepRunning = true; }
Example #27
Source File: ListenerThreadImpl.java From JDKSourceCode1.8 with MIT License | 5 votes |
public ListenerThreadImpl(ORB orb, Acceptor acceptor, Selector selector) { this.orb = orb; this.acceptor = acceptor; this.selector = selector; keepRunning = true; }
Example #28
Source File: ReaderThreadImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public ReaderThreadImpl(ORB orb, Connection connection, Selector selector) { this.orb = orb; this.connection = connection; this.selector = selector; keepRunning = true; }
Example #29
Source File: ReaderThreadImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public ReaderThreadImpl(ORB orb, Connection connection, Selector selector) { this.orb = orb; this.connection = connection; this.selector = selector; keepRunning = true; }
Example #30
Source File: ListenerThreadImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public ListenerThreadImpl(ORB orb, Acceptor acceptor, Selector selector) { this.orb = orb; this.acceptor = acceptor; this.selector = selector; keepRunning = true; }