| |
|
| java.lang.Object com.tagtraum.framework.server.Listener com.tagtraum.framework.server.UDPListener
UDPListener | public class UDPListener extends Listener implements Runnable(Code) | | Prototype of a
I_UDPListener .
author: Hendrik Schreiber version: 1.1beta1 $Id: UDPListener.java,v 1.4 2003/09/13 04:59:56 hendriks73 Exp $ |
Method Summary | |
protected synchronized void | bind() Binds the DatagramSocket to the set InetAddress . | public void | close() Closes the DatagramSocket , if it is set. | public boolean | isBound() Indicates whether this Listener is already bound
to a port/address. | public void | run() Contains the listenting loop. |
myReceiveBufferSize | protected int myReceiveBufferSize(Code) | | ReceiveBufferSize. Default = 256.
|
close | public void close() throws IOException(Code) | | Closes the DatagramSocket , if it is set.
|
isBound | public boolean isBound()(Code) | | Indicates whether this Listener is already bound
to a port/address.
true or false |
|
|
|