All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kilim.nio.SockEvent Maven / Gradle / Ivy

Go to download

Coroutines, continuations, fibers, actors and message passing for the JVM

The newest version!
/* 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 aReplyTo, AbstractSelectableChannel ach, int ops) {
    ch = ach;
    interestOps = ops;
    replyTo = aReplyTo;
  }
  
  public int interestOps; // SelectionKey.OP_* ..
  public AbstractSelectableChannel ch;
  public Mailbox replyTo; 
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy