🐎 PONY WARD DIFFICULTY: Adept Structural

The Proxy Ward

Securing remote actor access.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Proxy
ARCANUM SCHOOL: Abjuration // Remote Binding
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// PONY PATTERN //
actor GrimoireProxy
  let _real: Grimoire
  new create(r: Grimoire) => _real = r
  be read_page(n: U32) =>
    if Security.check() then _real.read_page(n) end

The Proxy Ward

A proxy actor can perform access control or lazy initialization before delegating messages to the true hidden grimoire.

Runic Tags: #pony #proxy #actor