added host name pointer function

This commit is contained in:
Jeff Hill
2000-06-27 23:08:04 +00:00
parent 69162db301
commit 66b35e578b
6 changed files with 50 additions and 60 deletions

View File

@@ -100,6 +100,16 @@ void cacChannel::hostName ( char *pBuf, unsigned bufLength ) const
}
}
const char * cacChannel::pHostName () const
{
if ( this->pChannelIO ) {
return pChannelIO->pHostName ();
}
else {
return "<not connected>";
}
}
short cacChannel::nativeType () const
{
if ( this->pChannelIO ) {