DummyMessage Derived Type

type, public, extends(AbstractMessage) :: DummyMessage


Inherits

type~~dummymessage~~InheritsGraph type~dummymessage DummyMessage type~abstractmessage AbstractMessage type~dummymessage->type~abstractmessage

Constructor

public interface DummyMessage

  • private function new_DummyMessage() result(message)

    Arguments

    None

    Return Value type(DummyMessage)


Type-Bound Procedures

procedure, public :: deserialize

  • private subroutine deserialize(this, buffer, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(DummyMessage), intent(inout) :: this
    integer(kind=INT32), intent(in) :: buffer(:)
    integer, intent(out), optional :: rc

procedure, public :: dispatch

  • private recursive subroutine dispatch(this, visitor, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(AbstractMessage), intent(in) :: this
    class(SurrogateMessageVisitor), intent(inout), target :: visitor
    integer, intent(out), optional :: rc

procedure, public :: get_length

  • private function get_length(this) result(length)

    Arguments

    Type IntentOptional Attributes Name
    class(DummyMessage), intent(in) :: this

    Return Value integer

procedure, public, nopass :: get_type_id

  • private function get_type_id() result(type_id)

    Arguments

    None

    Return Value integer

procedure, public :: serialize

  • private subroutine serialize(this, buffer, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(DummyMessage), intent(in) :: this
    integer(kind=INT32), intent(inout) :: buffer(:)
    integer, intent(out), optional :: rc

Source Code

   type, extends(AbstractMessage) :: DummyMessage
   contains
      procedure, nopass :: get_type_id
      procedure :: get_length
      procedure :: serialize
      procedure :: deserialize
   end type DummyMessage