return enabled state by a query function
This commit is contained in:
parent
1f87508104
commit
5e82a73b17
1 changed files with 193 additions and 192 deletions
|
@ -72,6 +72,7 @@ public:
|
||||||
bool IsConnected() const { return iConTimeOut > 0; }
|
bool IsConnected() const { return iConTimeOut > 0; }
|
||||||
|
|
||||||
void SetEnable ( const bool bNEnStat );
|
void SetEnable ( const bool bNEnStat );
|
||||||
|
bool IsEnabled() { return bIsEnabled; }
|
||||||
|
|
||||||
void SetAddress ( const CHostAddress NAddr ) { InetAddr = NAddr; }
|
void SetAddress ( const CHostAddress NAddr ) { InetAddr = NAddr; }
|
||||||
bool GetAddress ( CHostAddress& RetAddr );
|
bool GetAddress ( CHostAddress& RetAddr );
|
||||||
|
|
Loading…
Reference in a new issue