/src/kilim/nio/SockEvent.java
http://github.com/kilim/kilim · Java · 23 lines · 13 code · 5 blank · 5 comment · 0 complexity · 7fc2db5a8bb4eae31f0019a56da398f1 MD5 · raw file
- /* Copyright (c) 2006, Sriram Srinivasan
- *
- * You may distribute this software under the terms of the license
- * specified in the file "License"
- */
- package kilim.nio;
- import java.nio.channels.spi.AbstractSelectableChannel;
- import kilim.Mailbox;
- public class SockEvent {
- public SockEvent(Mailbox<SockEvent> aReplyTo, AbstractSelectableChannel ach, int ops) {
- ch = ach;
- interestOps = ops;
- replyTo = aReplyTo;
- }
-
- public int interestOps; // SelectionKey.OP_* ..
- public AbstractSelectableChannel ch;
- public Mailbox<SockEvent> replyTo;
- }