com.rhi.architecture.parc.channel
Class AbstractChannel

java.lang.Object
  extended bycom.rhi.architecture.parc.channel.AbstractChannel
All Implemented Interfaces:
Channel, java.lang.Cloneable, Consumer, Supplier
Direct Known Subclasses:
AbstractChannel, ArrayListQueue, LinkedListQueue

public abstract class AbstractChannel
extends java.lang.Object
implements Channel

Abstract Channel

Version:
1.0
Author:
Pete McKinstry

Constructor Summary
AbstractChannel()
          Constructor for AbstractChannel.
 
Method Summary
 java.lang.Object clone()
          This should be overriden by sub-classes but compilation is complicated due to the use of clone() w/o a throws CloneNotSupported exception.
 void log(java.lang.String msg)
          log msg
protected  void notifyMonitors()
          Method notifyListeners.
 void registerMonitor(Monitor m)
          Register Object for notification when records are available.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.rhi.architecture.parc.Channel
pull, push
 

Constructor Detail

AbstractChannel

public AbstractChannel()
Constructor for AbstractChannel.

Method Detail

clone

public java.lang.Object clone()
This should be overriden by sub-classes but compilation is complicated due to the use of clone() w/o a throws CloneNotSupported exception. This method is provided mostly just to satisfy the compile.

Specified by:
clone in interface Channel
Returns:
Object
Since:
1.0

notifyMonitors

protected void notifyMonitors()
Method notifyListeners.


registerMonitor

public void registerMonitor(Monitor m)
Description copied from interface: Supplier
Register Object for notification when records are available.

Specified by:
registerMonitor in interface Supplier
Parameters:
m -
See Also:
Supplier.registerMonitor(com.rhi.architecture.parc.Monitor)

log

public void log(java.lang.String msg)
log msg

Parameters:
msg -


Copyright © 2002-2004 Robert Half International. All Rights Reserved.