PageRenderTime 19ms CodeModel.GetById 14ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1/* Copyright (c) 2006, Sriram Srinivasan
 2 *
 3 * You may distribute this software under the terms of the license 
 4 * specified in the file "License"
 5 */
 6
 7package kilim.nio;
 8
 9import java.nio.channels.spi.AbstractSelectableChannel;
10
11import kilim.Mailbox;
12
13public class SockEvent {
14  public SockEvent(Mailbox<SockEvent> aReplyTo, AbstractSelectableChannel ach, int ops) {
15    ch = ach;
16    interestOps = ops;
17    replyTo = aReplyTo;
18  }
19  
20  public int interestOps; // SelectionKey.OP_* ..
21  public AbstractSelectableChannel ch;
22  public Mailbox<SockEvent> replyTo; 
23}