private void initialize(String url, int user_id, byte[] password,
                            int security) throws IOException {
        URL = url;
        UserID = user_id;
        Password = password;
        LoginChannel = new ChannelSet(url, Client, user_id, password);
        RSACipher = new RSACipher(security, 32);
        IntValue max_channel = new IntValue(0);
        byte[] key = LoginChannel.sendLoginRequest(RSACipher, max_channel);
        if(key == null){
            throw new IOException("OCɎs܂B");
        }
        MaxChannel = max_channel.getValue();
        RC4Cipher = new RC4Cipher(key);
        LogoffData = RC4Cipher.encData(HadukiCode.LOGOFF_SPELL.clone()
                                       , 0, HadukiCode.LOGOFF_SPELL.length);
        initializeChannels();
    }