Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD

## Namespace: OtlComm
Class TOmniMessageQueue

    System.TInterfacedObject
      |
      +-- OtlContainers.TOmniBaseBoundedQueue
        |
        +-- OtlContainers.TOmniBoundedQueue
          |
          +-- OtlComm.TOmniMessageQueue

internal class TOmniMessageQueue ( TOmniBoundedQueue )

Sealed
  False

Abstract
  False

Persistent
  False

Property Summary
`public OtlContainerObserver.TOmniContainerWindowsEventObserver` | `EventObserver`
`public TOmniMessageQueueMessageEvent` | `OnMessage`

Constructor Summary
`Create(numMessages: integer; createEventObserver: boolean)`

Method Summary
`public function TOmniMessage` | `Dequeue()`
`public Sub` | `Destroy()`
`public Sub` | `Empty()`
`public function boolean` | `Enqueue(value: TOmniMessage )`
`public function OtlSync.TOmniTransitionEvent` | `GetNewMessageEvent()`
`public function boolean` | `TryDequeue(msg: TOmniMessage )`

Property Detail

### EventObserver

    public EventObserver: OtlContainerObserver.TOmniContainerWindowsEventObserver

Type
  TOmniContainerWindowsEventObserver

Class
  False

Access
  read

### OnMessage

    public OnMessage: TOmniMessageQueueMessageEvent

Type
  TOmniMessageQueueMessageEvent

Class
  False

Access
  read/write

Constructor Detail

### Create

    public constructor Create(numMessages: integer; createEventObserver: boolean)

Final
  False

Reintroduce
  True

Virtual
  False

Override
  False

Abstract
  False

Method Detail

### Dequeue

    public function Dequeue(): TOmniMessage

Final
  False

Reintroduce
  True

Abstract
  False

Returns
  TOmniMessage

Override
  False

Virtual
  False

Class
  False

### Destroy

    public procedure Destroy()

Reintroduce
  False

Virtual
  False

Override
  True

Abstract
  False

Final
  False

### Empty

    public procedure Empty()

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### Enqueue

    public function Enqueue(value: TOmniMessage ): boolean

Final
  False

Reintroduce
  True

Abstract
  False

Returns
  boolean

Override
  False

Virtual
  False

Class
  False

### GetNewMessageEvent

    public function GetNewMessageEvent(): OtlSync.TOmniTransitionEvent

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  TOmniTransitionEvent

Override
  False

Virtual
  False

Class
  False

### TryDequeue

    public function TryDequeue(msg: TOmniMessage ): boolean

Final
  False

Reintroduce
  True

Abstract
  False

Returns
  boolean

Override
  False

Virtual
  False

Class
  False

Generalization Link

to Class TOmniBoundedQueue

Client
  TOmniMessageQueue

Supplier
  TOmniBoundedQueue

Association Link

to Class TOmniContainerWindowsEventObserver

Supplier
  TOmniContainerWindowsEventObserver

Directed
  False

Client
  mqWinEventObserver

Type
  association

to Class TOmniContainerWindowsEventObserver

Supplier
  TOmniContainerWindowsEventObserver

Directed
  False

Client
  EventObserver

Type
  association

to Delegate TOmniMessageQueueMessageEvent

Supplier
  TOmniMessageQueueMessageEvent

Directed
  False

Client
  OnMessage

Type
  association

Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD