solar.service.pack.proto
Class OutputProtocol

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

public class OutputProtocol
extends BaseProtocol

Protocol sends events to directly connected clients/proxy.

Version:
$Id: OutputProtocol.java,v 1.3 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
OutputProtocol(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

OutputProtocol

public OutputProtocol(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