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