?? readwriteselectorhandler.java
字號:
/*
* Copyright 2004 WIT-Software, Lda.
* - web: http://www.wit-software.com
* - email: info@wit-software.com
*
* All rights reserved. Relased under terms of the
* Creative Commons' Attribution-NonCommercial-ShareAlike license.
*/
package io;
/**
* Interface used for reading and writing from a socket using
* non-blocking operations.
*
* Classes wishing to be notified when a socket is ready to be written
* or read should implement this interface in order to receive
* notifications.
*
* @author Nuno Santos
*/
public interface ReadWriteSelectorHandler extends SelectorHandler {
/**
* Called when the associated socket is ready to be read.
*/
public void handleRead();
/**
* Called when the associated socket is ready to be written.
*/
public void handleWrite();
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -