C# Class SIPSorcery.SIP.SIPRouteSet

Show file Open project: sipsorcery/sipsorcery Class Usage Examples

Public Methods

Method Description
AddBottomRoute ( SIPRoute route ) : void
GetAt ( int index ) : SIPRoute
ParseSIPRouteSet ( string routeSet ) : SIPRouteSet
PopRoute ( ) : SIPRoute
PushRoute ( IPEndPoint socket, SIPSchemesEnum scheme, SIPProtocolsEnum protcol ) : void
PushRoute ( SIPRoute route ) : void
PushRoute ( string host ) : void
RemoveBottomRoute ( ) : void
ReplaceRoute ( string origSocket, string replacementSocket ) : void

If a route set is travelling from the public side of a proxy to the private side it can be required that the Record-Route set is modified.

Reversed ( ) : SIPRouteSet
SetAt ( int index, SIPRoute sipRoute ) : void
ToString ( ) : string

Method Details

AddBottomRoute() public method

public AddBottomRoute ( SIPRoute route ) : void
route SIPRoute
return void

GetAt() public method

public GetAt ( int index ) : SIPRoute
index int
return SIPRoute

ParseSIPRouteSet() public static method

public static ParseSIPRouteSet ( string routeSet ) : SIPRouteSet
routeSet string
return SIPRouteSet

PopRoute() public method

public PopRoute ( ) : SIPRoute
return SIPRoute

PushRoute() public method

public PushRoute ( IPEndPoint socket, SIPSchemesEnum scheme, SIPProtocolsEnum protcol ) : void
socket System.Net.IPEndPoint
scheme SIPSchemesEnum
protcol SIPProtocolsEnum
return void

PushRoute() public method

public PushRoute ( SIPRoute route ) : void
route SIPRoute
return void

PushRoute() public method

public PushRoute ( string host ) : void
host string
return void

RemoveBottomRoute() public method

public RemoveBottomRoute ( ) : void
return void

ReplaceRoute() public method

If a route set is travelling from the public side of a proxy to the private side it can be required that the Record-Route set is modified.
public ReplaceRoute ( string origSocket, string replacementSocket ) : void
origSocket string The socket string in the original route set that needs to be replace.
replacementSocket string The socket string the original route is being replaced with.
return void

Reversed() public method

public Reversed ( ) : SIPRouteSet
return SIPRouteSet

SetAt() public method

public SetAt ( int index, SIPRoute sipRoute ) : void
index int
sipRoute SIPRoute
return void

ToString() public method

public ToString ( ) : string
return string