public class SyslogOutputStream extends OutputStream
DatagramSocket
class so that it
behaves like an OutputStream
.Constructor and Description |
---|
SyslogOutputStream(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) |
write
public SyslogOutputStream(String syslogHost, int port) throws UnknownHostException, SocketException
UnknownHostException
SocketException
public void write(byte[] byteArray, int offset, int len) throws IOException
write
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
public int getPort()
public void write(int b) throws IOException
write
in class OutputStream
IOException
Copyright © 2005–2021 QOS.ch. All rights reserved.