Changeset 822 for BMXNET_RPMS_dotNET_UTILITIES-BMX/trunk/cs/bmx_0200scr/BMX2/BMXNet/BMXNetConnectInfo.cs
- Timestamp:
- Jul 6, 2010, 8:09:10 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BMXNET_RPMS_dotNET_UTILITIES-BMX/trunk/cs/bmx_0200scr/BMX2/BMXNet/BMXNetConnectInfo.cs
r815 r822 57 57 } 58 58 59 public BMXNetConnectInfo() 60 { 61 m_BMXNetLib = new BMXNetLib(); 62 63 //Initialize BMXNetEvent timer 64 m_timerEvent = new System.Timers.Timer(); 65 m_timerEvent.Elapsed+=new ElapsedEventHandler(OnEventTimer); 66 m_timerEvent.Interval = 10000; 67 m_timerEvent.Enabled = false; 68 } 59 /// <summary> 60 /// BMXNetConnector With Default Encoding (invokes BMXNetLib) 61 /// </summary> 62 public BMXNetConnectInfo() : this("") { } 63 64 /// <summary> 65 /// BMXNetConnector with a specific encoding 66 /// </summary> 67 /// <param name="encoding">String representation of encoding (e.g. windows-1256 for arabic). 68 /// If encoding is not found, we fall back to the default windows encoding. A debug message 69 /// is printed to that effect.</param> 70 public BMXNetConnectInfo(string encoding) 71 { 72 if (encoding == String.Empty) m_BMXNetLib = new BMXNetLib(); 73 else m_BMXNetLib = new BMXNetLib(encoding); 74 75 m_timerEvent = new System.Timers.Timer(); 76 m_timerEvent.Elapsed += new ElapsedEventHandler(OnEventTimer); 77 m_timerEvent.Interval = 10000; 78 m_timerEvent.Enabled = false; 79 } 69 80 70 81 #region BMXNetEvent
Note:
See TracChangeset
for help on using the changeset viewer.