RepeatAsyncRead() public méthode

public RepeatAsyncRead ( IByteAsyncInputStream cb ) : void
cb IByteAsyncInputStream
Résultat void
Exemple #1
0
        //シェルを開き、イベントレシーバを書き換える
        private void SuccessfullyExit()
        {
            SSHSocket sshsocket = new SSHSocket(_parent);

            sshsocket.SetSSHConnection(_connection);
            sshsocket.RepeatAsyncRead(_callback); //_callbackから先の処理は同じ
            _connection.EventReceiver = sshsocket;
            _parent.ReplaceSSHSocket(sshsocket);
            sshsocket.OpenShell();
        }
 //�V�F����J���A�C�x���g���V�[�o�����������
 private void SuccessfullyExit()
 {
     SSHSocket sshsocket = new SSHSocket(_parent);
     sshsocket.SetSSHConnection(_connection);
     sshsocket.RepeatAsyncRead(_callback); //_callback�����̏����͓���
     _connection.EventReceiver = sshsocket;
     _parent.ReplaceSSHSocket(sshsocket);
     sshsocket.OpenShell();
 }