mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
63 lines
887 B
C++
63 lines
887 B
C++
// -*- C++ -*-
|
|
// $Id: IO_Cntl_Msg.inl 97589 2014-02-14 18:38:51Z johnnyw $
|
|
|
|
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
|
|
|
ACE_INLINE
|
|
ACE_IO_Cntl_Msg::ACE_IO_Cntl_Msg (ACE_IO_Cntl_Cmds c) :
|
|
cmd_ (c),
|
|
count_ (0),
|
|
error_ (0),
|
|
rval_ (0)
|
|
{
|
|
}
|
|
|
|
ACE_INLINE ACE_IO_Cntl_Msg::ACE_IO_Cntl_Cmds
|
|
ACE_IO_Cntl_Msg::cmd (void)
|
|
{
|
|
return this->cmd_;
|
|
}
|
|
|
|
ACE_INLINE void
|
|
ACE_IO_Cntl_Msg::cmd (ACE_IO_Cntl_Cmds c)
|
|
{
|
|
this->cmd_ = c;
|
|
}
|
|
|
|
ACE_INLINE size_t
|
|
ACE_IO_Cntl_Msg::count (void)
|
|
{
|
|
return this->count_;
|
|
}
|
|
|
|
ACE_INLINE void
|
|
ACE_IO_Cntl_Msg::count (size_t c)
|
|
{
|
|
this->count_ = c;
|
|
}
|
|
|
|
ACE_INLINE int
|
|
ACE_IO_Cntl_Msg::error (void)
|
|
{
|
|
return this->error_;
|
|
}
|
|
|
|
ACE_INLINE void
|
|
ACE_IO_Cntl_Msg::error (int e)
|
|
{
|
|
this->error_ = e;
|
|
}
|
|
|
|
ACE_INLINE int
|
|
ACE_IO_Cntl_Msg::rval (void)
|
|
{
|
|
return this->rval_;
|
|
}
|
|
|
|
ACE_INLINE void
|
|
ACE_IO_Cntl_Msg::rval (int r)
|
|
{
|
|
this->rval_ = r;
|
|
}
|
|
|
|
ACE_END_VERSIONED_NAMESPACE_DECL
|