Gets existing flow or if flow doesn't exist, new one is created and returned.
| 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
- transport (String)
- SIP transport.
- localEP (IPEndPoint)
- Local end point. Value null means system will allocate it.
- remoteEP (IPEndPoint)
- Remote end point.
SIP_Flow
Returns data flow.
Returns data flow.
| 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