17#ifndef _DECAF_NET_SERVERSOCKETFACTORY_H_
18#define _DECAF_NET_SERVERSOCKETFACTORY_H_
Represents an IP address.
Definition InetAddress.h:33
virtual ServerSocket * createServerSocket(int port, int backlog, const InetAddress *address)=0
Create a new ServerSocket that is bound to the given port.
static ServerSocketFactory * getDefault()
Returns the Default ServerSocket factory, the pointer is owned by the Decaf runtime and should not be...
virtual ServerSocket * createServerSocket(int port, int backlog)=0
Create a new ServerSocket that is bound to the given port.
virtual ServerSocket * createServerSocket(int port)=0
Create a new ServerSocket that is bound to the given port.
virtual ServerSocket * createServerSocket()
Create a new ServerSocket that is unbound.
virtual ~ServerSocketFactory()
This class implements server sockets.
Definition ServerSocket.h:50
#define DECAF_API
Definition Config.h:29
Definition URLStreamHandlerManager.h:26
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25