pw_proxy Class Reference

Represents an object on the client side. More...

Public Member Functions

struct pw_proxypw_proxy_new (struct pw_proxy *factory, uint32_t type, size_t user_data_size)
 Create a proxy object with a given id and type. More...
void pw_proxy_destroy (struct pw_proxy *proxy)
 Destroy a proxy object. More...

Detailed Description

Represents an object on the client side.

A pw_proxy acts as a client side proxy to an object existing in a remote pipewire instance. The proxy is responsible for converting interface functions invoked by the client to PipeWire messages. Events will call the handlers set in listener.

See Proxy

Member Function Documentation

◆ pw_proxy_destroy()

void pw_proxy_destroy ( struct pw_proxy proxy)

Destroy a proxy object.

proxyProxy object to destroy
This is normally called by pw_remote when the server decides to destroy the server side object

◆ pw_proxy_new()

struct pw_proxy * pw_proxy_new ( struct pw_proxy factory,
uint32_t  type,
size_t  user_data_size 

Create a proxy object with a given id and type.

factoryanother proxy object that serves as a factory
typeType of the proxy object
user_data_sizesize of user_data
A newly allocated proxy object or NULL on failure

This function creates a new proxy object with the supplied id and type. The proxy object will have an id assigned from the client id space.

See also

References pw_protocol_get_marshal().

The documentation for this class was generated from the following files: