public class UDPSocketFactory extends java.lang.Object implements IUDPSocketFactory
IUDPSocketFactory implementation.| Constructor and Description |
|---|
UDPSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
IUDPSocket |
create(ServerAddress serverAddress,
int readTimeout)
Create a new
IUDPSocket instance. |
public IUDPSocket create(ServerAddress serverAddress, int readTimeout)
IUDPSocketFactoryIUDPSocket instance.create in interface IUDPSocketFactoryserverAddress - The server address to connect toreadTimeout - The read timeout