Table of Contents

OIL2 Class Standard.AcceptConnection

class Standard . AcceptConnection {
        any     client;
        assoc   connectionACL;
        int32   failedCount;
        string  listenAddress;
        oid     listenObj;
inherits from Object;


The AcceptConnection class provides a convenient facility for accepting incoming connections and notifying a service provider. When a new connection is accepted, the client is sent an acceptConnection message and passed the object Id of the IOobject representing the connection.



AcceptConnection:create(string listenName, any notify, optional assoc connACL)

Method Description

The create method takes three arguments: