src/Azos/Glue/Transport.cs
/// <summary>
/// Ensures that application and transport instance are running or throws otherwise
/// </summary>
Ensures that application and transport instance are running or throws otherwise
Ensures that application and transport instance are running or throws otherwise
public void CheckRunningState()
            {
                if (!App.Active || !Running)
                    throw m_TransportKind==TransportKind.Client ?
                            (GlueException)new ClientCallException(CallStatus.DispatchError, StringConsts.GLUE_SYSTEM_NOT_RUNNING_ERROR) :
                            (GlueException)new ServerNotRunningException(StringConsts.GLUE_SYSTEM_NOT_RUNNING_ERROR);
            }
public void CheckRunningState ( ) { if ( ! App . Active || ! Running ) throw m_TransportKind == TransportKind . Client ? ( GlueException ) new ClientCallException ( CallStatus . DispatchError , StringConsts . GLUE_SYSTEM_NOT_RUNNING_ERROR ) : ( GlueException ) new ServerNotRunningException ( StringConsts . GLUE_SYSTEM_NOT_RUNNING_ERROR ) ; }
Ensures that application and transport instance are running or throws otherwise
Ensures that application and transport instance are running or throws otherwise