com.aelitis.azureus.core.networkmanager.impl.udp
Class NetworkGlueUDP
java.lang.Object
com.aelitis.azureus.core.networkmanager.impl.udp.NetworkGlueUDP
- All Implemented Interfaces:
- NetworkGlue, AEPriorityMixin, PRUDPPrimordialHandler
public class NetworkGlueUDP
- extends Object
- implements NetworkGlue, PRUDPPrimordialHandler, AEPriorityMixin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetworkGlueUDP
protected NetworkGlueUDP(NetworkGlueListener _listener)
getPriority
public int getPriority()
- Specified by:
getPriority
in interface AEPriorityMixin
packetReceived
public boolean packetReceived(DatagramPacket packet)
- Specified by:
packetReceived
in interface PRUDPPrimordialHandler
send
public int send(int local_port,
InetSocketAddress target,
byte[] data)
throws IOException
- Specified by:
send
in interface NetworkGlue
- Throws:
IOException
getStats
public long[] getStats()
- Specified by:
getStats
in interface NetworkGlue