- rcf.zip
- RCF
- demo
- vs2003
- RCF
- doc
- include
- RCF
- SF
- license.txt
- src
- RCF
- SF
- test
- vs2003
- RCF
- RCF.sln
- RCF
- RCF.vcproj
- RCFTest
- RCFTest.vcproj
|
//*****************************************************************************
// RCF - Remote Call Framework
// Copyright (c) 2005. All rights reserved.
// Developed by Jarl Lindrud.
// Contact: jlindrud@hotmail.com .
//*****************************************************************************
#include <RCF/MethodInvocation.hpp>
namespace RCF {
//*************************************
// MethodInvocationRequest
MethodInvocationRequest::MethodInvocationRequest()
: token(), fnId(), oneway(), close(), service()
{}
MethodInvocationRequest::MethodInvocationRequest(bool close)
: token(), fnId(), oneway(), close(close), service()
{}
MethodInvocationRequest::MethodInvocationRequest(const Token &token, const std::string &service, int fnId, bool oneway, bool close)
: token(token), fnId(fnId), oneway(oneway), close(close), service(service)
{}
Token MethodInvocationRequest::getToken() const
{
return token;
}
int MethodInvocationRequest::getFnId() const
{
return fnId;
}
bool MethodInvocationRequest::getOneway() const
{
return oneway;
}
bool MethodInvocationRequest::getClose() const
{
return close;
}
//*******************************************'
// MethodInvocationResponse
MethodInvocationResponse::MethodInvocationResponse()
: exception()
{}
MethodInvocationResponse::MethodInvocationResponse(bool exception)
: exception(exception)
{}
bool MethodInvocationResponse::isException() const
{
return exception;
}
bool MethodInvocationResponse::isNotException() const
{
return !exception;
}
} // namespace RCF
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Software developer, from Sweden and now living in Canberra, Australia, working on distributed C++ applications. When he is not programming, Jarl enjoys skiing and playing table tennis. He derives immense satisfaction from referring to himself in third person.