org.apache.mina.example.udp
Class MemoryMonitor
java.lang.Object
org.apache.mina.example.udp.MemoryMonitor
public class MemoryMonitor
- extends Object
The class that will accept and process clients in order to properly
track the memory usage.
- Author:
- Apache MINA Project
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PORT
public static final int PORT
- See Also:
- Constant Field Values
PANEL_SIZE
protected static final Dimension PANEL_SIZE
MemoryMonitor
public MemoryMonitor()
throws IOException
- Throws:
IOException
recvUpdate
protected void recvUpdate(SocketAddress clientAddr,
long update)
addClient
protected void addClient(SocketAddress clientAddr)
containsClient
protected boolean containsClient(SocketAddress clientAddr)
removeClient
protected void removeClient(SocketAddress clientAddr)
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
Copyright © 2004-2011 Apache MINA Project. All Rights Reserved.