ehcache

net.sf.ehcache.distribution
Class MulticastKeepaliveHeartbeatReceiver

java.lang.Object
  extended by net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver

public final class MulticastKeepaliveHeartbeatReceiver
extends java.lang.Object

Receives heartbeats from any MulticastKeepaliveHeartbeatSenders out there.

Our own multicast heartbeats are ignored.

Version:
$Id: MulticastKeepaliveHeartbeatReceiver.java 604 2008-04-25 02:20:57Z gregluck $
Author:
Greg Luck

Constructor Summary
MulticastKeepaliveHeartbeatReceiver(MulticastRMICacheManagerPeerProvider peerProvider, java.net.InetAddress multicastAddress, java.lang.Integer multicastPort)
          Constructor.
 
Method Summary
 void dispose()
          Shutdown the heartbeat.
(package private)  void init()
          Start.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MulticastKeepaliveHeartbeatReceiver

public MulticastKeepaliveHeartbeatReceiver(MulticastRMICacheManagerPeerProvider peerProvider,
                                           java.net.InetAddress multicastAddress,
                                           java.lang.Integer multicastPort)
Constructor.

Parameters:
peerProvider -
multicastAddress -
multicastPort -
Method Detail

init

final void init()
         throws java.io.IOException
Start.

Throws:
java.io.IOException

dispose

public final void dispose()
Shutdown the heartbeat.


ehcache