|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Tracks InputStream instances.
Field Summary | |
static String |
NAME
A StreamManager is registered automatically by a Node with this name. |
Method Summary | |
Object |
register(InputStream anIn)
Registers the provided InputStream. |
InputStream |
retrieve(Object anId)
Retrieves the InputStream having the provided id. |
byte[] |
retrieveLocalNext(Object anID)
Reads from the InputStream having the specified identifier and returns the read bytes. |
void |
start()
Starts. |
void |
stop()
Stops. |
Methods inherited from interface org.apache.geronimo.messaging.EndPoint |
getID |
Methods inherited from interface org.apache.geronimo.messaging.MsgProducer |
setMsgProducerOut |
Methods inherited from interface org.apache.geronimo.messaging.MsgConsumer |
getMsgConsumerOut |
Field Detail |
public static final String NAME
Method Detail |
public void start()
public void stop()
public Object register(InputStream anIn)
anIn
- InputStream to be tracked.
public InputStream retrieve(Object anId) throws IOException
anId
- Identifier.
IOException
- Indicates that no InputStream is registered for
the provided identifier.public byte[] retrieveLocalNext(Object anID) throws IOException
anID
- InputStream identifier.
IOException
- Indicates than an I/O error has occured.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |