Logo Search packages:      
Sourcecode: jaminid version File versions  Download package

com::prolixtech::jaminid::Connection::Connection ( Socket  activeSocket,
Daemon  masterDaemon 
) throws IOException [inline]

default constructor to create a Connection

Parameters:
activeSocket the socket on which the connection was madee
masterDaemon the daemon that spanwed this connection
Exceptions:
IOException 

Definition at line 56 of file Connection.java.

                               {
        
        this.activeSocket = activeSocket;
        this.masterDaemon = masterDaemon;
        InetAddress ina = activeSocket.getInetAddress();
        this.setName("CN " + ina);
        SingletonLogger.Instance().fine("Connection from " + ina);
        socketInput = activeSocket.getInputStream();
        socketOutput = activeSocket.getOutputStream();
        start();

    }


Generated by  Doxygen 1.6.0   Back to index