Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.transport.util
Interface InputStreamService

All Known Implementing Classes:
InputStreamServiceImpl

public interface InputStreamService

The service hosted on the remote source that a RemoteInputStream uses to refill its buffer.


Method Summary
 StreamBuffer getNextBuffer(java.lang.String streamId)
          Retrieve the next buffer of data for the RemoteInputStream
 

Method Detail

getNextBuffer

StreamBuffer getNextBuffer(java.lang.String streamId)
                           throws java.io.IOException
Retrieve the next buffer of data for the RemoteInputStream

Parameters:
streamId - The remote input stream id.
Returns:
The buffer of data.
Throws:
java.io.IOException - if there is no remote stream registered for the given stream id or if there is no buffered data available to be read.

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.