Class: Quaff::UDPSIPEndpoint
- Inherits:
-
BaseEndpoint
- Object
- BaseEndpoint
- Quaff::UDPSIPEndpoint
- Defined in:
- lib/endpoint.rb
Instance Attribute Summary
Attributes inherited from BaseEndpoint
Instance Method Summary collapse
- #new_source(ip, port) ⇒ Object (also: #new_connection)
- #transport ⇒ Object
Methods inherited from BaseEndpoint
#add_call_id, #add_sock, #generate_call_id, #get_new_call_id, #get_new_message, #incoming_call, #initialize, #local_port, #mark_call_dead, #outgoing_call, #register, #send_msg, #terminate, #unregister
Constructor Details
This class inherits a constructor from Quaff::BaseEndpoint
Instance Method Details
#new_source(ip, port) ⇒ Object Also known as: new_connection
191 192 193 |
# File 'lib/endpoint.rb', line 191 def new_source ip, port return UDPSource.new ip, port end |
#transport ⇒ Object
187 188 189 |
# File 'lib/endpoint.rb', line 187 def transport "UDP" end |