org.wegra.mon.mem.remote
Class MmClient

java.lang.Object
  extended byorg.wegra.mon.mem.MemoryMonitor
      extended byorg.wegra.mon.mem.remote.MmClient
All Implemented Interfaces:
Monitor, Subscriber

public class MmClient
extends MemoryMonitor

MemoryMonitor client module for remote monitoring.
You can remote monitoring using this object. First, activates the MmServer module, and then creates instance of MmClient with appropriate remote address.

Author:
wegra (Bok-Youn Lee)

Field Summary
 
Fields inherited from class org.wegra.mon.mem.MemoryMonitor
fActiveSubscribers, fMonitor, fWaitingSubscribers
 
Constructor Summary
MmClient(java.net.InetAddress address, int port)
          Creates one instance connected to the specified address and port.
 
Methods inherited from class org.wegra.mon.mem.MemoryMonitor
getActiveSubscribers, getDefault, getHost, getMaxMemory, getMonitoringRate, getPeakCharge, getSubscribers, getWaitingSubscribers, hostStopped, hostStoppedPost, hostStoppedPre, invokeGc, isHost, messageDelivered, messageDeliveredPost, messageDeliveredPre, register, reset, resultReceived, resultReceivedPost, resultReceivedPre, resumeSubscribing, sendMessage, setMonitoringRate, start, stop, unregister, waitSubscribing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MmClient

public MmClient(java.net.InetAddress address,
                int port)
         throws java.io.IOException
Creates one instance connected to the specified address and port.

Parameters:
address - address of remote monitor.
port - port to connect.
Throws:
java.io.IOException - throws if connection failed.