18#ifndef _DECAF_INTERNAL_NET_DEFAULTSOCKETFACTORY_H_
19#define _DECAF_INTERNAL_NET_DEFAULTSOCKETFACTORY_H_
SocketFactory implementation that is used to create Sockets.
Definition: DefaultSocketFactory.h:34
virtual decaf::net::Socket * createSocket()
Creates an unconnected Socket object.a new Socket object, caller must free this object when done....
virtual decaf::net::Socket * createSocket(const std::string &name, int port)
Creates a new Socket object and connects it to the specified remote host and port using the configura...
virtual decaf::net::Socket * createSocket(const decaf::net::InetAddress *host, int port, const decaf::net::InetAddress *ifAddress, int localPort)
Creates a new Socket object and connects it to the specified remote host and port using the configura...
virtual decaf::net::Socket * createSocket(const decaf::net::InetAddress *host, int port)
Creates a new Socket object and connects it to the specified remote host and port using the configura...
virtual decaf::net::Socket * createSocket(const std::string &name, int port, const decaf::net::InetAddress *ifAddress, int localPort)
Creates a new Socket object and connects it to the specified remote host and port using the configura...
virtual ~DefaultSocketFactory()
Represents an IP address.
Definition: InetAddress.h:33
The SocketFactory is used to create Socket objects and can be sub-classed to provide other types of S...
Definition: SocketFactory.h:39
#define DECAF_API
Definition: Config.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: AprPool.h:25