|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectist.palcom.base.Channel
public abstract class Channel
A Channel is used for non-blocking communication. It can be used as a
parameter to
select or
to
PalcomThread's enableIOEvent
DatagramSocket| Constructor Summary | |
|---|---|
Channel()
|
|
| Method Summary | |
|---|---|
abstract boolean |
dataAvailable()
This method should only be called by the System class, not from other classes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Channel()
| Method Detail |
|---|
public abstract boolean dataAvailable()
After a call to System's select or selectNow with this Channel (on the JVM), this method returns true if data is available, false otherwise. If no call to select or selectNow has been made, the result is undefined.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||