org.apache.activemq
Class ActiveMQOutputStream
java.lang.Object
java.io.OutputStream
org.apache.activemq.ActiveMQOutputStream
- All Implemented Interfaces:
- Closeable, Flushable, Disposable
public class ActiveMQOutputStream
- extends OutputStream
- implements Disposable
- Version:
- $Revision$
Field Summary |
protected int |
count
|
count
protected int count
ActiveMQOutputStream
public ActiveMQOutputStream(ActiveMQConnection connection,
ProducerId producerId,
ActiveMQDestination destination,
Map properties,
int deliveryMode,
int priority,
long timeToLive)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class OutputStream
- Throws:
IOException
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
write
public void write(int b)
throws IOException
- Specified by:
write
in class OutputStream
- Throws:
IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Overrides:
write
in class OutputStream
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush
in interface Flushable
- Overrides:
flush
in class OutputStream
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011 Apache Software Foundation. All Rights Reserved.