1 package org.jacorb.test.orb.etf.wiop; 2 3 22 23 import org.omg.ETF.*; 24 25 29 public class WIOPListener extends _ListenerLocalBase 30 { 31 private int tag = 0; 32 private Listener delegate = null; 33 34 public WIOPListener (Listener delegate, int tag) 35 { 36 this.delegate = delegate; 37 this.tag = tag; 38 } 39 40 public void set_handle(Handle up) 41 { 42 delegate.set_handle (up); 43 } 44 45 public Connection accept() 46 { 47 return new WIOPConnection (delegate.accept(), tag); 48 } 49 50 public void listen() 51 { 52 delegate.listen(); 53 } 54 55 public void destroy() 56 { 57 delegate.destroy(); 58 } 59 60 public void completed_data (Connection conn) 61 { 62 throw new org.omg.CORBA.NO_IMPLEMENT (); 63 } 64 65 public Profile endpoint() 66 { 67 return new WIOPProfile (delegate.endpoint(), tag); 68 } 69 70 } 71 | Popular Tags |