jGCS Documentation

net.sf.jgcs
Class AbstractPollingProtocol

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

public abstract class AbstractPollingProtocol
extends AbstractProtocol

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

Version:
1.0
Author:
Jose Pereira

Field Summary
 
Fields inherited from class net.sf.jgcs.AbstractProtocol
controlSessions, dataSessions
 
Constructor Summary
AbstractPollingProtocol()
           
 
Method Summary
protected  void boot()
           
protected abstract  void read()
           
 
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

AbstractPollingProtocol

public AbstractPollingProtocol()
Method Detail

boot

protected void boot()
Overrides:
boot in class AbstractProtocol

read

protected abstract void read()

jGCS Documentation

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