KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > pept > transport > Selector


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
8 package com.sun.corba.se.pept.transport;
9
10 /**
11  * @author Harold Carr
12  */

13 public interface Selector
14 {
15     public void setTimeout(long timeout);
16     public long getTimeout();
17     public void registerInterestOps(EventHandler eventHandler);
18     public void registerForEvent(EventHandler eventHander);
19     public void unregisterForEvent(EventHandler eventHandler);
20     public void close();
21 }
22
23 // End of file.
24

25
26
27
28
29
30
31
32
Popular Tags