This commit is contained in:
Jeff Hill
2000-09-07 01:42:06 +00:00
parent 57143c27c7
commit b27129b684
2 changed files with 0 additions and 79 deletions
-41
View File
@@ -1,41 +0,0 @@
/* $Id$
*
* L O S A L A M O S
* Los Alamos National Laboratory
* Los Alamos, New Mexico 87545
*
* Copyright, 1986, The Regents of the University of California.
*
* Author: Jeff Hill
*/
#include "iocinf.h"
bool claimMsgCache::set ( nciu & chan )
{
this->clientId = chan.id;
this->serverId = chan.sid;
if ( this->v44 ) {
unsigned len = strlen ( chan.pNameStr ) + 1u;
if ( this->bufLen < len ) {
unsigned newBufLen = 2 * len;
char *pNewStr = new char [ newBufLen ];
if ( pNewStr ) {
delete [] this->pStr;
this->pStr = pNewStr;
this->bufLen = newBufLen;
}
else {
return false;
}
}
strcpy ( this->pStr, chan.pNameStr );
this->currentStrLen = len;
}
else {
this->currentStrLen = 0u;
}
return true;
}
-38
View File
@@ -1,38 +0,0 @@
/* $Id$
*
* L O S A L A M O S
* Los Alamos National Laboratory
* Los Alamos, New Mexico 87545
*
* Copyright, 1986, The Regents of the University of California.
*
* Author: Jeff Hill
*/
#include "iocinf.h"
#include "netiiu_IL.h"
claimsPendingIIU::claimsPendingIIU ( tcpiiu &tcpIIUIn ) :
netiiu ( tcpIIUIn.clientCtx () ), tcpIIU ( tcpIIUIn )
{
}
claimsPendingIIU::~claimsPendingIIU ()
{
}
const char * claimsPendingIIU::pHostName () const
{
return this->tcpIIU.pHostName ();
}
void claimsPendingIIU::hostName ( char *pBuf, unsigned bufLength ) const
{
this->tcpIIU.hostName ( pBuf, bufLength );
}
bool claimsPendingIIU::connectionInProgress ( const char *pChannelName, const osiSockAddr &addr ) const
{
return this->tcpIIU.connectionInProgress ( pChannelName, addr );
}