client.net
Class ConnectionMediator
java.lang.Object
client.net.ConnectionMediator
public class ConnectionMediator
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionMediator
public ConnectionMediator(ConnectionProvider con,
java.lang.String ip,
int port,
java.lang.String[] initialMsgs)
throws java.io.IOException
- Throws:
java.io.IOException
getOutputStream
public java.io.OutputStream getOutputStream()
getInputStream
public java.io.InputStream getInputStream()
getSocket
public java.net.Socket getSocket()
sendMessages
public static void sendMessages(java.io.BufferedWriter bw,
java.lang.String[] msgs)
throws java.io.IOException
- Throws:
java.io.IOException
sendMessages
public static void sendMessages(java.io.OutputStream os,
java.lang.String[] msgs)
throws java.io.IOException
- Throws:
java.io.IOException