📄 acceptselectorhandler.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 accepting incoming connections using non-blocking
* operations.
*
* Classes wishing to be notified when a ServerSocket receives incoming
* connections should implement this interface.
*
* @author Nuno Santos
*/
public interface AcceptSelectorHandler extends SelectorHandler {
/**
* Called by SelectorThread when the server socket associated
* with the class implementing this interface receives a request
* for establishing a connection.
*/
public void handleAccept();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -