dm_mqueue_write Interface

public interface dm_mqueue_write

Generic message queue write function.


Module Procedures

private function mqueue_write_log(mqueue, log) result(rc)

Sends log message to message queue. Returns E_MQUEUE on error.

Arguments

Type IntentOptional Attributes Name
type(mqueue_type), intent(inout) :: mqueue

Message queue type.

type(log_type), intent(inout) :: log

Log type.

Return Value integer

private function mqueue_write_observ(mqueue, observ) result(rc)

Sends observation to message queue. Returns E_MQUEUE on error.

Arguments

Type IntentOptional Attributes Name
type(mqueue_type), intent(inout) :: mqueue

Message queue type.

type(observ_type), intent(inout) :: observ

Observation type.

Return Value integer

private function mqueue_write_raw(mqueue, buffer, priority) result(rc)

Sends log to message queue. Returns E_MQUEUE on error.

Arguments

Type IntentOptional Attributes Name
type(mqueue_type), intent(inout) :: mqueue

Message queue type.

character(len=*), intent(inout) :: buffer

Byte buffer

integer, intent(in), optional :: priority

Priority

Return Value integer