Class LateralTCPListener<K,V>

java.lang.Object
org.apache.commons.jcs3.auxiliary.lateral.socket.tcp.LateralTCPListener<K,V>
All Implemented Interfaces:
ILateralCacheListener<K,V>, ICacheListener<K,V>, IShutdownObserver

public class LateralTCPListener<K,V> extends Object implements ILateralCacheListener<K,V>, IShutdownObserver
Listens for connections from other TCP lateral caches and handles them. The initialization method starts a listening thread, which creates a socket server. When messages are received they are passed to a pooled executor which then calls the appropriate handle method.