LumiSoft Net Help
GetOrCreateFlow Method (transport, localEP, remoteEP)
Namespaces ► LumiSoft.Net.SIP.Stack ► SIP_TransportLayer ► GetOrCreateFlow(String, IPEndPoint, IPEndPoint)
Gets existing flow or if flow doesn't exist, new one is created and returned.
Declaration Syntax

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

Parameters

transport (String)
  SIP transport.

localEP (IPEndPoint)
  Local end point. Value null means system will allocate it.

remoteEP (IPEndPoint)
  Remote end point.

Return Value
SIP_Flow
Returns data flow.
Exceptions

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