Skip to content

TIPCServerMsg

Server message queue class.

Declaration

Source position: simpleipc.pp line 54

type

  TIPCServerMsg = class
  public
    constructor Create;
    constructor Create(AStream: TStream; AOwnsStream: Boolean=True);
    destructor Destroy;
    property Stream: TStream; {r}
    property MsgType: TMessageType; {rw}
    property OwnsStream: Boolean; {rw}
    property StringMessage: string; {r}
  end;

Description

TIPCServerMsg is an auxiliary class used in the IPC server class TSimpleIPCServer. It keeps the data for 1 message. The set of messages is managed in TIPCServerMsgQueue. There should normally be no need to use this class directly.

Properties

Member Visibility Description
MsgType public Message type.
OwnsStream public Does the message own the stream.
Stream read only public Stream to store message data.
StringMessage read only public String message sent by client.

Methods

Member Visibility Description
Create public Create a new instance of a server message.
Destroy public Destroy an instance of a server message.

See also

Name Description
TIPCServerMsgQueue A simple message queue, with FIFO characteristics and overflow management.