public class SharedUdpServerSocket extends SharedServerSocket
SharedServerSocket.Identifier
Constructor and Description |
---|
SharedUdpServerSocket(InetSocketAddress address) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
UdpSessionHandler |
getSession(InetSocketAddress address) |
UdpSessionHandler |
getSessionOrCreate(InetSocketAddress address) |
Collection<UdpSessionHandler> |
getSessions() |
UdpBufferThread |
getThread() |
void |
onSessionClosed(UdpSessionHandler handler) |
getIdentifier
public static final String TYPE
public SharedUdpServerSocket(InetSocketAddress address)
public UdpSessionHandler getSession(InetSocketAddress address)
public UdpSessionHandler getSessionOrCreate(InetSocketAddress address)
public void onSessionClosed(UdpSessionHandler handler)
public Collection<UdpSessionHandler> getSessions()
public void close()
close
in class SharedServerSocket
public UdpBufferThread getThread()
Copyright © 2016. All rights reserved.