/*************************************************************************\ * Copyright (c) 2002 The University of Chicago, as Operator of Argonne * National Laboratory. * Copyright (c) 2002 The Regents of the University of California, as * Operator of Los Alamos National Laboratory. * EPICS BASE Versions 3.13.7 * and higher are distributed subject to a Software License Agreement found * in file LICENSE that is included with this distribution. \*************************************************************************/ /* $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 #include #define epicsAssertAuthor "Jeff Hill johill@lanl.gov" #include "iocinf.h" #include "cac.h" #include "netiiu.h" netiiu::~netiiu () { } bool netiiu::ca_v42_ok () const { return false; } void netiiu::writeRequest ( epicsGuard < cacMutex > &, nciu &, unsigned, unsigned, const void * ) { throw cacChannel::notConnected(); } void netiiu::writeNotifyRequest ( epicsGuard < cacMutex > &, nciu &, netWriteNotifyIO &, unsigned, unsigned, const void * ) { throw cacChannel::notConnected(); } void netiiu::readNotifyRequest ( epicsGuard < cacMutex > &, nciu &, netReadNotifyIO &, unsigned, unsigned ) { throw cacChannel::notConnected(); } void netiiu::clearChannelRequest ( epicsGuard < cacMutex > &, ca_uint32_t, ca_uint32_t ) { } void netiiu::subscriptionRequest ( epicsGuard < cacMutex > &, nciu &, netSubscription & ) { } void netiiu::subscriptionCancelRequest ( epicsGuard < cacMutex > &, nciu &, netSubscription & ) { } void netiiu::hostName ( char *pBuf, unsigned bufLength ) const { if ( bufLength ) { strncpy ( pBuf, this->pHostName (), bufLength ); pBuf[bufLength - 1u] = '\0'; } } const char * netiiu::pHostName () const { return ""; } osiSockAddr netiiu::getNetworkAddress () const { osiSockAddr addr; addr.sa.sa_family = AF_UNSPEC; return addr; } void netiiu::flushRequest () { } bool netiiu::flushBlockThreshold ( epicsGuard < cacMutex > & ) const { return false; } void netiiu::flushRequestIfAboveEarlyThreshold ( epicsGuard < cacMutex > & ) { } void netiiu::blockUntilSendBacklogIsReasonable ( cacNotify &, epicsGuard < cacMutex > & ) { } void netiiu::requestRecvProcessPostponedFlush () { return; } void netiiu::uninstallChan ( epicsGuard < cacMutex > &, nciu & ) { throw cacChannel::notConnected(); }