public class MulticastConnection extends Object implements Connection
Modifier and Type | Field and Description |
---|---|
protected InetAddress |
group |
protected MulticastOutputStream |
outputStream |
protected int |
port |
protected MulticastSocket |
socket |
Constructor and Description |
---|
MulticastConnection(MulticastSocket socket,
int port,
InetAddress group) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
protected MulticastOutputStream outputStream
protected MulticastSocket socket
protected int port
protected InetAddress group
public MulticastConnection(MulticastSocket socket, int port, InetAddress group)
public void close()
close
in interface Connection
public InputStream getInputStream() throws IOException
getInputStream
in interface Connection
IOException
public OutputStream getOutputStream() throws IOException
getOutputStream
in interface Connection
IOException
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.