/* * This file is protected by Copyright. Please refer to the COPYRIGHT file * distributed with this source distribution. * * This file is part of REDHAWK bulkioInterfaces. * * REDHAWK bulkioInterfaces is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the * Free Software Foundation, either version 3 of the License, or (at your * option) any later version. * * REDHAWK bulkioInterfaces is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License * for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see http://www.gnu.org/licenses/. */ package bulkio; import BULKIO.PrecisionUTCTime; import BULKIO.StreamSRI; import org.omg.CORBA.CharHolder; import org.omg.CORBA.ShortHolder; /** * A class to hold packet data. * @generated */ public class DataTransfer< DT extends Object > { /** @generated */ public final DT dataBuffer; /** @generated */ public final PrecisionUTCTime T; /** @generated */ public final boolean EOS; /** @generated */ public final String streamID; /** @generated */ public final StreamSRI SRI; /** @generated */ public final boolean inputQueueFlushed; /** @generated */ public final boolean sriChanged; /** * @generated */ public DataTransfer(DT data, PrecisionUTCTime time, boolean endOfStream, String streamID, StreamSRI H, boolean sriChanged, boolean inputQueueFlushed) { this.dataBuffer = data; this.T = time; this.EOS = endOfStream; this.streamID = streamID; this.SRI = H; this.inputQueueFlushed = inputQueueFlushed; this.sriChanged = sriChanged; }; /** * @generated */ public DT getData() { return this.dataBuffer; } /** * @generated */ public PrecisionUTCTime getTime() { return this.T; } /** * @generated */ public boolean getEndOfStream() { return this.EOS; } /** * @generated */ public String getStreamID() { return this.streamID; } /** * @generated */ public StreamSRI getSRI() { return this.SRI; } /** * This returns true if the input queue for the port was cleared because * the queue reached its size limit. The number of packets discarded * before this packet is equal to maxQueueDepth. * @generated */ public boolean inputQueueFlushed() { return this.inputQueueFlushed; } /** * @generated */ public boolean sriChanged() { return this.sriChanged; } };