|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.filter.ReadFilter
com.sun.grizzly.filter.UDPReadFilter
public class UDPReadFilter
Simple ProtocolFilter implementation which read the available bytes and delegate the processing to the next ProtocolFilter in the ProtocolChain. If no bytes are available, no new ProtocolHandler will be a invoked and the connection (SelectionKey) will be cancelled.
| Field Summary | |
|---|---|
static java.lang.String |
UDP_SOCKETADDRESS
Deprecated. |
| Fields inherited from class com.sun.grizzly.filter.ReadFilter |
|---|
continousExecution, DELAYED_CLOSE_NOTIFICATION, readAttempts |
| Fields inherited from interface com.sun.grizzly.ProtocolFilter |
|---|
SUCCESSFUL_READ |
| Constructor Summary | |
|---|---|
UDPReadFilter()
Deprecated. |
|
| Method Summary | |
|---|---|
boolean |
execute(Context ctx)
Deprecated. Read available bytes and delegate the processing of them to the next ProtocolFilter in the ProtocolChain. |
| Methods inherited from class com.sun.grizzly.filter.ReadFilter |
|---|
checkEmptyRead, execute, getReadAttempts, isContinuousExecution, log, postExecute, setContinuousExecution, setReadAttempts |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String UDP_SOCKETADDRESS
| Constructor Detail |
|---|
public UDPReadFilter()
| Method Detail |
|---|
public boolean execute(Context ctx)
throws java.io.IOException
execute in interface ProtocolFilterexecute in class ReadFilterctx - Context
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||