com.northconcepts.datapipeline.core
Class DataEndpointGroup

java.lang.Object
  extended by com.northconcepts.datapipeline.core.DataEndpoint
      extended by com.northconcepts.datapipeline.core.DataEndpointGroup

public class DataEndpointGroup
extends DataEndpoint

Helper class--makes it easy to work with multiple readers and writers as a single unit.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.northconcepts.datapipeline.core.DataEndpoint
DataEndpoint.State
 
Field Summary
 
Fields inherited from class com.northconcepts.datapipeline.core.DataEndpoint
BUFFER_SIZE, log
 
Constructor Summary
DataEndpointGroup()
           
 
Method Summary
 DataEndpointGroup add(DataEndpoint... endpoints)
           
 void close()
          Indicates that this endpoint has finished reading or writing.
 DataEndpoint get(int index)
           
 int getCount()
           
 void open()
          Makes this endpoint ready for reading or writing.
 
Methods inherited from class com.northconcepts.datapipeline.core.DataEndpoint
addExceptionProperties, assertNotOpened, assertOpened, decrementRecordCount, exception, exception, exception, finalize, getDescription, getRecordCount, getRecordCountAsBigInteger, getRecordCountAsString, getState, incrementRecordCount, isClosed, isOpen, isRecordCountBigInteger, resetRecordCount, setDescription, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataEndpointGroup

public DataEndpointGroup()
Method Detail

getCount

public int getCount()

add

public DataEndpointGroup add(DataEndpoint... endpoints)

get

public DataEndpoint get(int index)

open

public void open()
          throws DataException
Description copied from class: DataEndpoint
Makes this endpoint ready for reading or writing.

Overrides:
open in class DataEndpoint
Throws:
DataException

close

public void close()
           throws DataException
Description copied from class: DataEndpoint
Indicates that this endpoint has finished reading or writing.

Overrides:
close in class DataEndpoint
Throws:
DataException


Copyright (c) 2007-2012 North Concepts Inc. All Rights Reserved.