solar.service.pack.proto
Class InputProtocol

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

public class InputProtocol
extends BaseProtocol

Protocol handles input events for local resident subscribers.

Version:
$Id: InputProtocol.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
InputProtocol(int bt, int mt, int st)
           
 
Method Summary
 void addSubscriber(Id pubId, Id subId, java.lang.Object policy, Address from)
          Add a remote 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

InputProtocol

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

addSubscriber

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

Overrides:
addSubscriber in class BaseProtocol