home *** CD-ROM | disk | FTP | other *** search
- package sun.tools.debug;
-
- import java.io.FilterOutputStream;
- import java.io.IOException;
- import java.io.OutputStream;
-
- class AgentOutputStream extends FilterOutputStream implements AgentConstants {
- AgentOutputStream(OutputStream var1) {
- super(var1);
- }
-
- public synchronized void write(int var1) throws IOException {
- super.out.write(33);
- super.out.write(1);
- super.out.write(var1);
- }
-
- public void write(byte[] var1) throws IOException {
- this.write(var1, 0, var1.length);
- }
-
- public synchronized void write(byte[] var1, int var2, int var3) throws IOException {
- super.out.write(33);
- super.out.write(var3);
- super.out.write(var1, var2, var3);
- }
- }
-