|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.solarmetric.rd.kodo.runtime.datacache.plugins.SocketDistributedCache.SocketCacheListener
Responsible for listening for packets and processing the received packets. There is a single listener per JVM. This is because only a single socket can bind to a given port
| Field Summary | |
protected boolean |
isRunning
Should be set to true once the listener is
listening. |
protected int |
port
The port that this listener should listen on. |
| Constructor Summary | |
protected |
SocketDistributedCache.SocketCacheListener(int port)
Construct a new SocketCacheListener configured to use the specified port. |
| Method Summary | |
protected void |
addCache(com.solarmetric.rd.kodo.runtime.datacache.plugins.SocketDistributedCache cache)
All caches added here will be notified of any incoming cache messages. |
protected void |
handle(java.io.InputStream in)
Process an InputStream containing objects written
by SocketDistributedCache.broadcastUpdate(java.util.Map, java.util.Map, java.util.Collection). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
run |
| Field Detail |
protected int port
protected boolean isRunning
true once the listener is
listening.
| Constructor Detail |
protected SocketDistributedCache.SocketCacheListener(int port)
throws java.net.UnknownHostException
| Method Detail |
protected void addCache(com.solarmetric.rd.kodo.runtime.datacache.plugins.SocketDistributedCache cache)
SocketDistributedCache.endConfiguration() invokes
addCache with this upon
completion of configuration.
protected void handle(java.io.InputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException,
java.io.OptionalDataException
InputStream containing objects written
by SocketDistributedCache.broadcastUpdate(java.util.Map, java.util.Map, java.util.Collection).
java.io.IOException
java.lang.ClassNotFoundException
java.io.OptionalDataException
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||