示例#1
0
        public void Copy(SupernovaSetting setting)
        {
            _accUser     = setting._accUser;
            _accPassword = setting._accPassword;
            _accDomain   = setting._accDomain;
            _accProxy    = setting._accProxy;
            _isRegDomain = setting._isRegDomain;
            _regInterval = setting._regInterval;

            _nidsAddr         = setting._nidsAddr;
            _nidsIntructPort  = setting._nidsIntructPort;
            _nidsEventPort    = setting._nidsEventPort;
            _nidsEchoPort     = setting._nidsEchoPort;
            _isFailoverDetect = setting._isFailoverDetect;
            _presenceTag      = setting._presenceTag;
            _dialogTag        = setting._dialogTag;
            _heartbeatTag     = setting._heartbeatTag;

            _ringFile     = setting._ringFile;
            _historyFile  = setting._historyFile;
            _custUserFile = setting._custUserFile;

            _userbtnHeight  = setting._userbtnHeight;
            _userbtnLineCnt = setting._userbtnLineCnt;

            _ipAddress           = setting._ipAddress;
            _xmlrpcPort          = setting._xmlrpcPort;
            _tccXmlrpcServerAddr = setting._tccXmlrpcServerAddr;
            _tccXmlrpcServerPort = setting._tccXmlrpcServerPort;

            _recordingFileDir = setting._recordingFileDir;
            _recordingDelDate = setting._recordingDelDate;
        }
示例#2
0
        public object Clone()
        {
            var rVal = new SupernovaSetting();

            rVal._accUser     = _accUser;
            rVal._accPassword = _accPassword;
            rVal._accDomain   = _accDomain;
            rVal._accProxy    = _accProxy;
            rVal._isRegDomain = _isRegDomain;
            rVal._regInterval = _regInterval;

            rVal._nidsAddr         = _nidsAddr;
            rVal._nidsIntructPort  = _nidsIntructPort;
            rVal._nidsEventPort    = _nidsEventPort;
            rVal._nidsEchoPort     = _nidsEchoPort;
            rVal._isFailoverDetect = _isFailoverDetect;
            rVal._presenceTag      = _presenceTag;
            rVal._dialogTag        = _dialogTag;
            rVal._heartbeatTag     = _heartbeatTag;

            rVal._ringFile     = _ringFile;
            rVal._historyFile  = _historyFile;
            rVal._custUserFile = _custUserFile;

            rVal._userbtnHeight  = _userbtnHeight;
            rVal._userbtnLineCnt = _userbtnLineCnt;

            rVal._ipAddress           = _ipAddress;
            rVal._xmlrpcPort          = _xmlrpcPort;
            rVal._tccXmlrpcServerAddr = _tccXmlrpcServerAddr;
            rVal._tccXmlrpcServerPort = _tccXmlrpcServerPort;

            rVal._recordingFileDir = _recordingFileDir;
            rVal._recordingDelDate = _recordingDelDate;

            return(rVal);
        }