1. /*
  2. * @(#)Selector.java 1.5 04/04/07
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.pept.transport;
  8. /**
  9. * @author Harold Carr
  10. */
  11. public interface Selector
  12. {
  13. public void setTimeout(long timeout);
  14. public long getTimeout();
  15. public void registerInterestOps(EventHandler eventHandler);
  16. public void registerForEvent(EventHandler eventHander);
  17. public void unregisterForEvent(EventHandler eventHandler);
  18. public void close();
  19. }
  20. // End of file.