|
jGCS Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jgcs.AbstractProtocol
net.sf.jgcs.AbstractMultiThreadedPollingProtocol
public abstract class AbstractMultiThreadedPollingProtocol
This class defines a AbstractMultiThreadedPollingProtocol. It enriches the AbstractProtocol class with a multi threaded mechanism to poll I/O for several sessions.
| Nested Class Summary | |
|---|---|
class |
AbstractMultiThreadedPollingProtocol.ProtocolReader<C>
|
| Field Summary |
|---|
| Fields inherited from class net.sf.jgcs.AbstractProtocol |
|---|
controlSessions, dataSessions |
| Constructor Summary | |
|---|---|
AbstractMultiThreadedPollingProtocol()
|
|
| Method Summary | |
|---|---|
protected void |
boot()
|
protected void |
startReader(AbstractMultiThreadedPollingProtocol.ProtocolReader worker)
|
| Methods inherited from class net.sf.jgcs.AbstractProtocol |
|---|
lookupControlSession, lookupDataSession, putSessions, removeSessions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.jgcs.Protocol |
|---|
openControlSession, openDataSession |
| Constructor Detail |
|---|
public AbstractMultiThreadedPollingProtocol()
| Method Detail |
|---|
protected void boot()
boot in class AbstractProtocolprotected void startReader(AbstractMultiThreadedPollingProtocol.ProtocolReader worker)
|
jGCS Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||