jGCS Documentation

net.sf.jgcs
Class AbstractMultiThreadedPollingProtocol

java.lang.Object
  extended by net.sf.jgcs.AbstractProtocol
      extended by net.sf.jgcs.AbstractMultiThreadedPollingProtocol
All Implemented Interfaces:
Protocol

public abstract class AbstractMultiThreadedPollingProtocol
extends AbstractProtocol

This class defines a AbstractMultiThreadedPollingProtocol. It enriches the AbstractProtocol class with a multi threaded mechanism to poll I/O for several sessions.

Version:
1.0
Author:
Jose Pereira

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

AbstractMultiThreadedPollingProtocol

public AbstractMultiThreadedPollingProtocol()
Method Detail

boot

protected void boot()
Overrides:
boot in class AbstractProtocol

startReader

protected void startReader(AbstractMultiThreadedPollingProtocol.ProtocolReader worker)

jGCS Documentation

Copyright (c) 2006, Universidade de Lisboa
For updates and related information please see jGCS home page