public class PassiveSocketOutputStream extends OutputStream
OutputStream
that accepts connections from remote clients and sends the data to all connected clients.
This includes the case where no client is connected, and the data is thus silently discarded.Constructor and Description |
---|
PassiveSocketOutputStream(InetSocketAddress localAddress) |
PassiveSocketOutputStream(int port) |
Modifier and Type | Method and Description |
---|---|
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush, write
public PassiveSocketOutputStream(int port) throws IOException
IOException
public PassiveSocketOutputStream(InetSocketAddress localAddress) throws IOException
IOException
public void write(int b)
write
in class OutputStream
public void write(byte[] b, int off, int len)
write
in class OutputStream
Copyright © 2018 Arno Unkrig. All rights reserved.