com.sun.corba.se.pept.transport.ListenerThread Java Examples
The following examples show how to use
com.sun.corba.se.pept.transport.ListenerThread.
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: SelectorImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
private void destroyListenerThread(EventHandler eventHandler) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: " + eventHandler); } ListenerThread listenerThread = (ListenerThread) listenerThreads.get(eventHandler); if (listenerThread == null) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: cannot find ListenerThread - ignoring."); } return; } listenerThreads.remove(eventHandler); listenerThread.close(); }
Example #2
Source File: SelectorImpl.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private void destroyListenerThread(EventHandler eventHandler) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: " + eventHandler); } ListenerThread listenerThread = (ListenerThread) listenerThreads.get(eventHandler); if (listenerThread == null) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: cannot find ListenerThread - ignoring."); } return; } listenerThreads.remove(eventHandler); listenerThread.close(); }
Example #3
Source File: SelectorImpl.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
private void destroyListenerThread(EventHandler eventHandler) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: " + eventHandler); } ListenerThread listenerThread = (ListenerThread) listenerThreads.get(eventHandler); if (listenerThread == null) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: cannot find ListenerThread - ignoring."); } return; } listenerThreads.remove(eventHandler); listenerThread.close(); }
Example #4
Source File: SelectorImpl.java From hottub with GNU General Public License v2.0 | 6 votes |
private void destroyListenerThread(EventHandler eventHandler) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: " + eventHandler); } ListenerThread listenerThread = (ListenerThread) listenerThreads.get(eventHandler); if (listenerThread == null) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: cannot find ListenerThread - ignoring."); } return; } listenerThreads.remove(eventHandler); listenerThread.close(); }
Example #5
Source File: SelectorImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
private void destroyListenerThread(EventHandler eventHandler) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: " + eventHandler); } ListenerThread listenerThread = (ListenerThread) listenerThreads.get(eventHandler); if (listenerThread == null) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: cannot find ListenerThread - ignoring."); } return; } listenerThreads.remove(eventHandler); listenerThread.close(); }
Example #6
Source File: SelectorImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
private void destroyListenerThread(EventHandler eventHandler) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: " + eventHandler); } ListenerThread listenerThread = (ListenerThread) listenerThreads.get(eventHandler); if (listenerThread == null) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: cannot find ListenerThread - ignoring."); } return; } listenerThreads.remove(eventHandler); listenerThread.close(); }
Example #7
Source File: SelectorImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
private void destroyListenerThread(EventHandler eventHandler) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: " + eventHandler); } ListenerThread listenerThread = (ListenerThread) listenerThreads.get(eventHandler); if (listenerThread == null) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: cannot find ListenerThread - ignoring."); } return; } listenerThreads.remove(eventHandler); listenerThread.close(); }
Example #8
Source File: SelectorImpl.java From JDKSourceCode1.8 with MIT License | 6 votes |
private void destroyListenerThread(EventHandler eventHandler) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: " + eventHandler); } ListenerThread listenerThread = (ListenerThread) listenerThreads.get(eventHandler); if (listenerThread == null) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: cannot find ListenerThread - ignoring."); } return; } listenerThreads.remove(eventHandler); listenerThread.close(); }
Example #9
Source File: SelectorImpl.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
private void destroyListenerThread(EventHandler eventHandler) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: " + eventHandler); } ListenerThread listenerThread = (ListenerThread) listenerThreads.get(eventHandler); if (listenerThread == null) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: cannot find ListenerThread - ignoring."); } return; } listenerThreads.remove(eventHandler); listenerThread.close(); }
Example #10
Source File: SelectorImpl.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
private void destroyListenerThread(EventHandler eventHandler) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: " + eventHandler); } ListenerThread listenerThread = (ListenerThread) listenerThreads.get(eventHandler); if (listenerThread == null) { if (orb.transportDebugFlag) { dprint(".destroyListenerThread: cannot find ListenerThread - ignoring."); } return; } listenerThreads.remove(eventHandler); listenerThread.close(); }
Example #11
Source File: SelectorImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public void close() { if (orb.transportDebugFlag) { dprint(".close"); } if (isClosed()) { if (orb.transportDebugFlag) { dprint(".close: already closed"); } return; } setClosed(true); Iterator i; // Kill listeners. i = listenerThreads.values().iterator(); while (i.hasNext()) { ListenerThread listenerThread = (ListenerThread) i.next(); listenerThread.close(); } // Kill readers. i = readerThreads.values().iterator(); while (i.hasNext()) { ReaderThread readerThread = (ReaderThread) i.next(); readerThread.close(); } clearDeferredRegistrations(); // Selector try { if (selector != null) { // wakeup Selector thread to process close request selector.wakeup(); } } catch (Throwable t) { if (orb.transportDebugFlag) { dprint(".close: selector.wakeup: ", t); } } }
Example #12
Source File: SelectorImpl.java From JDKSourceCode1.8 with MIT License | 4 votes |
public void close() { if (orb.transportDebugFlag) { dprint(".close"); } if (isClosed()) { if (orb.transportDebugFlag) { dprint(".close: already closed"); } return; } setClosed(true); Iterator i; // Kill listeners. i = listenerThreads.values().iterator(); while (i.hasNext()) { ListenerThread listenerThread = (ListenerThread) i.next(); listenerThread.close(); } // Kill readers. i = readerThreads.values().iterator(); while (i.hasNext()) { ReaderThread readerThread = (ReaderThread) i.next(); readerThread.close(); } clearDeferredRegistrations(); // Selector try { if (selector != null) { // wakeup Selector thread to process close request selector.wakeup(); } } catch (Throwable t) { if (orb.transportDebugFlag) { dprint(".close: selector.wakeup: ", t); } } }
Example #13
Source File: SelectorImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
public void close() { if (orb.transportDebugFlag) { dprint(".close"); } if (isClosed()) { if (orb.transportDebugFlag) { dprint(".close: already closed"); } return; } setClosed(true); Iterator i; // Kill listeners. i = listenerThreads.values().iterator(); while (i.hasNext()) { ListenerThread listenerThread = (ListenerThread) i.next(); listenerThread.close(); } // Kill readers. i = readerThreads.values().iterator(); while (i.hasNext()) { ReaderThread readerThread = (ReaderThread) i.next(); readerThread.close(); } clearDeferredRegistrations(); // Selector try { if (selector != null) { // wakeup Selector thread to process close request selector.wakeup(); } } catch (Throwable t) { if (orb.transportDebugFlag) { dprint(".close: selector.wakeup: ", t); } } }
Example #14
Source File: SelectorImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public void close() { if (orb.transportDebugFlag) { dprint(".close"); } if (isClosed()) { if (orb.transportDebugFlag) { dprint(".close: already closed"); } return; } setClosed(true); Iterator i; // Kill listeners. i = listenerThreads.values().iterator(); while (i.hasNext()) { ListenerThread listenerThread = (ListenerThread) i.next(); listenerThread.close(); } // Kill readers. i = readerThreads.values().iterator(); while (i.hasNext()) { ReaderThread readerThread = (ReaderThread) i.next(); readerThread.close(); } clearDeferredRegistrations(); // Selector try { if (selector != null) { // wakeup Selector thread to process close request selector.wakeup(); } } catch (Throwable t) { if (orb.transportDebugFlag) { dprint(".close: selector.wakeup: ", t); } } }
Example #15
Source File: SelectorImpl.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public void close() { if (orb.transportDebugFlag) { dprint(".close"); } if (isClosed()) { if (orb.transportDebugFlag) { dprint(".close: already closed"); } return; } setClosed(true); Iterator i; // Kill listeners. i = listenerThreads.values().iterator(); while (i.hasNext()) { ListenerThread listenerThread = (ListenerThread) i.next(); listenerThread.close(); } // Kill readers. i = readerThreads.values().iterator(); while (i.hasNext()) { ReaderThread readerThread = (ReaderThread) i.next(); readerThread.close(); } // Selector try { if (selector != null) { // wakeup Selector thread to process close request selector.wakeup(); } } catch (Throwable t) { if (orb.transportDebugFlag) { dprint(".close: selector.close: " + t); } } }
Example #16
Source File: SelectorImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
public void close() { if (orb.transportDebugFlag) { dprint(".close"); } if (isClosed()) { if (orb.transportDebugFlag) { dprint(".close: already closed"); } return; } setClosed(true); Iterator i; // Kill listeners. i = listenerThreads.values().iterator(); while (i.hasNext()) { ListenerThread listenerThread = (ListenerThread) i.next(); listenerThread.close(); } // Kill readers. i = readerThreads.values().iterator(); while (i.hasNext()) { ReaderThread readerThread = (ReaderThread) i.next(); readerThread.close(); } clearDeferredRegistrations(); // Selector try { if (selector != null) { // wakeup Selector thread to process close request selector.wakeup(); } } catch (Throwable t) { if (orb.transportDebugFlag) { dprint(".close: selector.wakeup: ", t); } } }
Example #17
Source File: SelectorImpl.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public void close() { if (orb.transportDebugFlag) { dprint(".close"); } if (isClosed()) { if (orb.transportDebugFlag) { dprint(".close: already closed"); } return; } setClosed(true); Iterator i; // Kill listeners. i = listenerThreads.values().iterator(); while (i.hasNext()) { ListenerThread listenerThread = (ListenerThread) i.next(); listenerThread.close(); } // Kill readers. i = readerThreads.values().iterator(); while (i.hasNext()) { ReaderThread readerThread = (ReaderThread) i.next(); readerThread.close(); } // Selector try { if (selector != null) { // wakeup Selector thread to process close request selector.wakeup(); } } catch (Throwable t) { if (orb.transportDebugFlag) { dprint(".close: selector.close: " + t); } } }
Example #18
Source File: SelectorImpl.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
public void close() { if (orb.transportDebugFlag) { dprint(".close"); } if (isClosed()) { if (orb.transportDebugFlag) { dprint(".close: already closed"); } return; } setClosed(true); Iterator i; // Kill listeners. i = listenerThreads.values().iterator(); while (i.hasNext()) { ListenerThread listenerThread = (ListenerThread) i.next(); listenerThread.close(); } // Kill readers. i = readerThreads.values().iterator(); while (i.hasNext()) { ReaderThread readerThread = (ReaderThread) i.next(); readerThread.close(); } clearDeferredRegistrations(); // Selector try { if (selector != null) { // wakeup Selector thread to process close request selector.wakeup(); } } catch (Throwable t) { if (orb.transportDebugFlag) { dprint(".close: selector.wakeup: ", t); } } }
Example #19
Source File: SelectorImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public void close() { if (orb.transportDebugFlag) { dprint(".close"); } if (isClosed()) { if (orb.transportDebugFlag) { dprint(".close: already closed"); } return; } setClosed(true); Iterator i; // Kill listeners. i = listenerThreads.values().iterator(); while (i.hasNext()) { ListenerThread listenerThread = (ListenerThread) i.next(); listenerThread.close(); } // Kill readers. i = readerThreads.values().iterator(); while (i.hasNext()) { ReaderThread readerThread = (ReaderThread) i.next(); readerThread.close(); } // Selector try { if (selector != null) { // wakeup Selector thread to process close request selector.wakeup(); } } catch (Throwable t) { if (orb.transportDebugFlag) { dprint(".close: selector.close: " + t); } } }
Example #20
Source File: SelectorImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 4 votes |
public void close() { if (orb.transportDebugFlag) { dprint(".close"); } if (isClosed()) { if (orb.transportDebugFlag) { dprint(".close: already closed"); } return; } setClosed(true); Iterator i; // Kill listeners. i = listenerThreads.values().iterator(); while (i.hasNext()) { ListenerThread listenerThread = (ListenerThread) i.next(); listenerThread.close(); } // Kill readers. i = readerThreads.values().iterator(); while (i.hasNext()) { ReaderThread readerThread = (ReaderThread) i.next(); readerThread.close(); } clearDeferredRegistrations(); // Selector try { if (selector != null) { // wakeup Selector thread to process close request selector.wakeup(); } } catch (Throwable t) { if (orb.transportDebugFlag) { dprint(".close: selector.wakeup: ", t); } } }