solar.service.fap
Class DirectPipe

java.lang.Object
  |
  +--solar.service.fap.Pipe
        |
        +--solar.service.fap.DirectPipe
All Implemented Interfaces:
FapConstants, Identifiable

public class DirectPipe
extends Pipe
implements FapConstants

A direct pipe has no buffer inside.

Version:
$Id: DirectPipe.java,v 1.10 2003/10/05 18:50:57 glchen Exp $
Author:
Guanling Chen

Field Summary
protected  DispatchService _dispatch
           
protected  java.lang.String _fapName
           
protected  RpcService _rpc
           
protected  java.lang.String _transportName
           
 
Fields inherited from class solar.service.fap.Pipe
_pid, _sink, _source, _type
 
Fields inherited from interface solar.service.fap.FapConstants
FAP_DATA, FAP_MIXED, FAP_PID, FAP_PULL, FAP_PUSH
 
Constructor Summary
DirectPipe(Id pid, int type, FapService fap)
           
 
Method Summary
 java.lang.Object pullData(java.lang.Object query)
          Pull data from this pipe.
 void pushData(java.lang.Object data)
          Push data through this pipe.
 
Methods inherited from class solar.service.fap.Pipe
attachSinkChannel, attachSourceChannel, getId, getInputPort, getOutputPort, getSinkChannel, getSourceChannel, getType, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_rpc

protected RpcService _rpc

_dispatch

protected DispatchService _dispatch

_fapName

protected java.lang.String _fapName

_transportName

protected java.lang.String _transportName
Constructor Detail

DirectPipe

public DirectPipe(Id pid,
                  int type,
                  FapService fap)
Method Detail

pushData

public void pushData(java.lang.Object data)
              throws FapException
Description copied from class: Pipe
Push data through this pipe.

Specified by:
pushData in class Pipe
FapException

pullData

public java.lang.Object pullData(java.lang.Object query)
                          throws FapException
Description copied from class: Pipe
Pull data from this pipe.

Specified by:
pullData in class Pipe
FapException