MAbstractConnection* ph_c_connect_localservice

(MPeerHood* _aPeerHood,
  CService* _aService)

Creates a connection to a local service.

Documentation

Creates a connetion to a local service. Destination address and technology prototype are taken from the parameters. If a connection object is returned then it's caller's responsibility to delete it in a controlled way. For supporting C-API of PeerHood.

Parameters:
_aPeerHood - pointer to MPeerHood instance to use.
_aService - The service to connect to. CService class objects can be used directly.
Returns:
a new connection object or NULL if an error happened

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.