public class SyslogOutputStream
extends java.io.OutputStream
DatagramSocket
class so that it
behaves like an OutputStream
.Constructor and Description |
---|
SyslogOutputStream(java.lang.String syslogHost,
int port) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
int |
getPort() |
void |
write(byte[] byteArray,
int offset,
int len) |
void |
write(int b) |
public SyslogOutputStream(java.lang.String syslogHost, int port) throws java.net.UnknownHostException, java.net.SocketException
java.net.UnknownHostException
java.net.SocketException
public void write(byte[] byteArray, int offset, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
public int getPort()
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved