Sippet v0.2.7 Sippet.Transports.UDP.Plug

Summary

Functions

Invoked to check if this connection is reliable (connection-oriented). If false then the Sippet.Transactions has to retransmit requests or handle request retransmissions

Invoked to send a message to the network. If any error occur while sending the message, and the transaction is not nil, the transaction should be informed so by calling error/2

Starts the UDP plug

Functions

get_socket()
reliable?()

Invoked to check if this connection is reliable (connection-oriented). If false then the Sippet.Transactions has to retransmit requests or handle request retransmissions.

Callback implementation for Sippet.Transports.Plug.reliable?/0.

send_message(message, host, port, key)

Invoked to send a message to the network. If any error occur while sending the message, and the transaction is not nil, the transaction should be informed so by calling error/2.

Callback implementation for Sippet.Transports.Plug.send_message/4.

start_link()

Starts the UDP plug.