Back to index

nordugrid-arc-nox  1.1.0~rc6
Classes | Namespaces | Defines | Functions | Variables
MCCTCP.cpp File Reference
#include <cstdlib>
#include <unistd.h>
#include <cerrno>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <netdb.h>
#include <arc/message/PayloadStream.h>
#include <arc/message/PayloadRaw.h>
#include <arc/XMLNode.h>
#include <arc/Thread.h>
#include <arc/Logger.h>
#include <arc/StringConv.h>
#include <arc/Utils.h>
#include "MCCTCP.h"

Go to the source code of this file.

Classes

class  Arc::TCPSecAttr

Namespaces

namespace  Arc
 ARCJSDLParser The ARCJSDLParser class, derived from the JobDescriptionParser class, is primarily a job description parser for the consolidated job description language (ARCJSDL), derived from JSDL, described in the following document http://svn.nordugrid.org/trac/nordugrid/browser/arc1/trunk/doc/tech_doc/client/job_description.odt.

Defines

#define ErrNo   errno
#define PROTO_NAME(ADDR)   ((ADDR->ai_family==AF_INET6)?"IPv6":"IPv4")

Functions

static Arc::Pluginget_mcc_service (Arc::PluginArgument *arg)
static Arc::Pluginget_mcc_client (Arc::PluginArgument *arg)
static void Arc::fill_arc_string_attribute (XMLNode object, std::string value, const char *id)
static void Arc::fill_xacml_string_attribute (XMLNode object, std::string value, const char *id)
static bool Arc::get_host_port (struct sockaddr_storage *addr, std::string &host, std::string &port)

Variables

Arc::PluginDescriptor PLUGINS_TABLE_NAME []

Define Documentation

#define ErrNo   errno

Definition at line 46 of file MCCTCP.cpp.

#define PROTO_NAME (   ADDR)    ((ADDR->ai_family==AF_INET6)?"IPv6":"IPv4")

Definition at line 59 of file MCCTCP.cpp.


Function Documentation

static Arc::Plugin* get_mcc_client ( Arc::PluginArgument arg) [static]

Definition at line 72 of file MCCTCP.cpp.

                                                         {
    Arc::MCCPluginArgument* mccarg =
            arg?dynamic_cast<Arc::MCCPluginArgument*>(arg):NULL;
    if(!mccarg) return NULL;
    return new Arc::MCC_TCP_Client((Arc::Config*)(*mccarg));
}
static Arc::Plugin* get_mcc_service ( Arc::PluginArgument arg) [static]

Definition at line 65 of file MCCTCP.cpp.

                                                          {
    Arc::MCCPluginArgument* mccarg =
            arg?dynamic_cast<Arc::MCCPluginArgument*>(arg):NULL;
    if(!mccarg) return NULL;
    return new Arc::MCC_TCP_Service((Arc::Config*)(*mccarg));
}

Variable Documentation

Initial value:
 {
    { "tcp.service", "HED:MCC", 0, &get_mcc_service },
    { "tcp.client",  "HED:MCC", 0, &get_mcc_client  },
    { NULL, NULL, 0, NULL }
}

Definition at line 79 of file MCCTCP.cpp.