fixed sun pro warnings

This commit is contained in:
Jeff Hill
1999-10-30 00:12:37 +00:00
parent 4046eeb612
commit febba9698e
9 changed files with 16 additions and 13 deletions

View File

@@ -178,10 +178,12 @@ casClient::~casClient ()
//
// casClient::show()
//
void casClient::show(unsigned level) const
void casClient::show (unsigned level) const
{
printf ("casClient at %p\n", this);
this->casCoreClient::show(level);
this->casCoreClient::show (level);
this->inBuf::show (level);
this->outBuf::show (level);
}
//

View File

@@ -98,6 +98,7 @@ void casCoreClient::show (unsigned level) const
this->casEventSys::show (level);
printf ("\t%d io ops in progess\n", this->ioInProgList.count());
this->ctx.show (level);
this->osiMutex::show (level);
}
//

View File

@@ -71,14 +71,13 @@ void casDGClient::destroy()
//
void casDGClient::show (unsigned level) const
{
this->casClient::show(level);
printf("casDGClient at %p\n", this);
if (level>=1u) {
char buf[64];
this->clientHostName (buf, sizeof(buf));
printf ("Client Host=%s\n", buf);
}
this->inBuf::show(level);
this->casClient::show (level);
}
//

View File

@@ -479,7 +479,7 @@ public:
casClient (caServerI &, bufSizeT ioMinSizeIn);
virtual ~casClient ();
void show (unsigned level) const;
virtual void show (unsigned level) const;
//
// send error response to a message
@@ -693,7 +693,7 @@ public:
casDGClient (caServerI &serverIn);
virtual ~casDGClient();
void show (unsigned level) const;
virtual void show (unsigned level) const;
//
// only for use with DG io

View File

@@ -348,6 +348,7 @@ void casDGIntfOS::show(unsigned level) const
if (this->pIOWk) {
this->pIOWk->show (level);
}
this->casDGIntfIO::show (level);
}
//

View File

@@ -79,7 +79,6 @@ casServerReg::~casServerReg()
void casIntfOS::show (unsigned level)
{
printf ("casIntfOS at %p\n", this);
this->casIntfIO::show (level);
this->casDGIntfOS::show (level);
}

View File

@@ -61,7 +61,7 @@ public:
virtual ~casDGIntfOS ();
void show (unsigned level) const;
virtual void show (unsigned level) const;
private:
casDGReadReg *pRdReg;
@@ -103,7 +103,7 @@ public:
bool autoBeaconAddr=true, bool addConfigBeaconAddr=false);
virtual ~casIntfOS();
void show (unsigned level);
virtual void show (unsigned level);
caNetAddr serverAddress () const;
@@ -111,8 +111,8 @@ private:
caServerI &cas;
casServerReg *pRdReg;
void recvCB ();
void sendCB () {}; // NOOP satifies template
//void recvCB ();
//void sendCB () {}; // NOOP satifies template
};
class casStreamWriteReg;

View File

@@ -218,9 +218,10 @@ casDGIntfIO::~casDGIntfIO()
//
// casDGIntfIO::show()
//
void casDGIntfIO::osdShow (unsigned level) const
void casDGIntfIO::show (unsigned level) const
{
printf ("casDGIntfIO at %p\n", this);
this->casDGClient::show (level);
}
//

View File

@@ -39,7 +39,7 @@ public:
const caNetAddr &addr);
inBuf::fillCondition osdRecv (char *pBuf, bufSizeT nBytesReq,
fillParameter parm, bufSizeT &nBytesActual, caNetAddr &addr);
void osdShow (unsigned level) const;
virtual void show (unsigned level) const;
static bufSizeT optimumOutBufferSize ();
static bufSizeT optimumInBufferSize ();