Function qpid_proton_sys::pn_transport[][src]

pub unsafe extern "C" fn pn_transport() -> *mut pn_transport_t
Expand description

Factory for creating a transport. A transport is used by a connection to interface with the network. There can only be one connection associated with a transport. Initially a transport is configured to be a client transport. Use pn_transport_set_server() to configure the transport as a server transport. A client transport initiates outgoing connections. A client transport must be configured with the protocol layers to use and cannot configure itself automatically. A server transport accepts incoming connections. It can automatically configure itself to include the various protocol layers depending on the incoming protocol headers.