|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjava.nio.channels.SelectionKey
java.nio.channels.spi.AbstractSelectionKey
public abstract class AbstractSelectionKey
선택 키의 베이스 구현 클래스입니다.
이 클래스는, 키의 유효성을 추적해, 취소를 구현합니다.
필드의 개요 |
---|
클래스 java.nio.channels. SelectionKey 로부터 상속된 필드 |
---|
OP_ACCEPT , OP_CONNECT , OP_READ , OP_WRITE |
생성자 의 개요 | |
---|---|
protected |
AbstractSelectionKey ()
이 클래스의 새로운 인스턴스를 초기화합니다. |
메소드의 개요 | |
---|---|
void |
cancel ()
이 키를 취소합니다. |
boolean |
isValid ()
이 키가 유효한지 어떤지를 판단합니다. |
클래스 java.nio.channels. SelectionKey 로부터 상속된 메소드 |
---|
attach , attachment , channel , interestOps , interestOps , isAcceptable , isConnectable , isReadable , isWritable , readyOps , selector |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
protected AbstractSelectionKey()
메소드의 상세 |
---|
public final boolean isValid()
SelectionKey
의 기술:키는, 작성된 시점으로부터, 삭제되는지, 채널 또는 셀렉터가 클로즈 할 때까지 유효합니다.
SelectionKey
내의 isValid
public final void cancel()
아직 삭제되지 않은 경우, 이 키는, 셀렉터가 삭제된 키 세트의 동기화 시에, 그 세트에 추가됩니다.
SelectionKey
내의 cancel
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.