public class SyslogOutputStream extends OutputStream
DatagramSocket class so that it behaves like an
OutputStream.
| Constructor and Description |
|---|
SyslogOutputStream(String
|
public SyslogOutputStream(StringsyslogHost, 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()
public int getPort()
public void write(int b)
throws IOException
write in class
OutputStream
IOException