Gets existing flow or if flow doesn't exist, new one is created and returned.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public SIP_Flow GetOrCreateFlow( string transport, IPEndPoint localEP, IPEndPoint remoteEP )
Public Function GetOrCreateFlow ( transport As String, localEP As IPEndPoint, remoteEP As IPEndPoint ) As SIP_Flow
public: SIP_Flow^ GetOrCreateFlow( String^ transport, IPEndPoint^ localEP, IPEndPoint^ remoteEP )
member GetOrCreateFlow : transport : string * localEP : IPEndPoint * remoteEP : IPEndPoint -> SIP_Flow
![](../icons/collapse_all.gif)
- transport (String)
- SIP transport.
- localEP (IPEndPoint)
- Local end point. Value null means system will allocate it.
- remoteEP (IPEndPoint)
- Remote end point.
![](../icons/collapse_all.gif)
SIP_Flow
Returns data flow.
Returns data flow.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and and this method is accessed. |
ArgumentNullException | Is raised when remoteEP. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119