Poco::XSD::Types

class Service

File Information

Library: XSD/Types
Package: WSDL
Header: Poco/XSD/Types/Service.h

Description

This class represents a WSDL Service.

Inheritance

Direct Base Classes: AnnotatedObject

All Base Classes: Poco::RefCountedObject, AnnotatedObject, Visitable

Member Summary

Member Functions: accept, addPort, name, ports, setName

Inherited Functions: accept, addAnnotation, duplicate, getAnnotations, id, referenceCount, release

Nested Classes

struct Port

 

Types Aliases

Ports

using Ports = std::vector < Port >;

Ptr

using Ptr = Poco::AutoPtr < Service >;

Constructors

Service

Service();

Creates the Service.

Service

Service(
    const std::string & name
);

Creates the Service.

Destructor

~Service virtual

~Service();

Destroys the Service.

Member Functions

accept virtual

void accept(
    Visitor & v
) const;

addPort

void addPort(
    const std::string & name,
    const Poco::XML::Name & binding
);

Adds a new port to the Service.

name inline

const std::string & name() const;

Returns the name.

ports inline

const Ports & ports() const;

Returns the Service ports.

setName inline

void setName(
    const std::string & name
);

Sets the name.

Securely control IoT edge devices from anywhere   Connect a Device