solar.service.pack.proto
Class ForwardProtocol

java.lang.Object
  |
  +--solar.service.pack.proto.BaseProtocol
        |
        +--solar.service.pack.proto.ForwardProtocol
All Implemented Interfaces:
Protocol

public class ForwardProtocol
extends BaseProtocol

Protocol handles forwarding events to next server on the path.

Version:
$Id: ForwardProtocol.java,v 1.4 2003/10/13 03:13:05 glchen Exp $
Author:
Guanling Chen

Nested Class Summary
 
Nested classes inherited from class solar.service.pack.proto.BaseProtocol
BaseProtocol.ProtocolState
 
Field Summary
 
Fields inherited from class solar.service.pack.proto.BaseProtocol
_inbufman, _log, _outbufman, _state
 
Constructor Summary
ForwardProtocol(int bt, int mt, int st)
           
 
Method Summary
 void addSubscriber(Id pubId, Id subId, java.lang.Object policy)
          Add a local subscriber that may get events from this manager.
 
Methods inherited from class solar.service.pack.proto.BaseProtocol
addPublisher, addSubscriber, getEvent, hasPublisher, putEvent, removePublisher, removeSubscriber, resumeSubscriber, suspendSubscriber, toString, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForwardProtocol

public ForwardProtocol(int bt,
                       int mt,
                       int st)
Method Detail

addSubscriber

public void addSubscriber(Id pubId,
                          Id subId,
                          java.lang.Object policy)
Description copied from class: BaseProtocol
Add a local subscriber that may get events from this manager.

Overrides:
addSubscriber in class BaseProtocol