org.mobicents.media.server.impl.resource.zap
Class SelectorKeyImpl
java.lang.Object
org.mobicents.media.server.impl.resource.zap.SelectorKeyImpl
- All Implemented Interfaces:
- org.mobicents.protocols.stream.api.SelectorKey
public class SelectorKeyImpl
- extends java.lang.Object
- implements org.mobicents.protocols.stream.api.SelectorKey
- Author:
- kulikov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectorKeyImpl
protected SelectorKeyImpl(Channel channel,
Selector selector)
isValid
public boolean isValid()
- Specified by:
isValid in interface org.mobicents.protocols.stream.api.SelectorKey
isReadable
public boolean isReadable()
- Specified by:
isReadable in interface org.mobicents.protocols.stream.api.SelectorKey
isWriteable
public boolean isWriteable()
- Specified by:
isWriteable in interface org.mobicents.protocols.stream.api.SelectorKey
getStream
public org.mobicents.protocols.stream.api.Stream getStream()
- Specified by:
getStream in interface org.mobicents.protocols.stream.api.SelectorKey
getStreamSelector
public org.mobicents.protocols.stream.api.StreamSelector getStreamSelector()
- Specified by:
getStreamSelector in interface org.mobicents.protocols.stream.api.SelectorKey
cancel
public void cancel()
- Specified by:
cancel in interface org.mobicents.protocols.stream.api.SelectorKey
attach
public void attach(java.lang.Object obj)
- Specified by:
attach in interface org.mobicents.protocols.stream.api.SelectorKey
attachment
public java.lang.Object attachment()
- Specified by:
attachment in interface org.mobicents.protocols.stream.api.SelectorKey
Copyright © 2010. All Rights Reserved.