Ackis2.0/Protocol

From Makers Local 256
< Ackis2.0
Revision as of 23:38, 8 July 2008 by Brimstone (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Packet

responseid

  • Typically the only attribute in the <packet> tag
  • String of a reasonable length

register

  • There can be more then one of these for components

type

  • typically client or module or resource but not limited to such

callback

  • regular expressions for messages without previous responseids

mime

  • the mimetype for the types of messages that can be sent to this client.

message

mime

  • the mimetype of the message, common values are:
    • text/plain
    • image/jpeg

data

  • contents of message

components?

action

  • list
    • returns a list of all of the components of type
  • type
    • module or resource or something the core will have listed.

resource

type

  • something like database or image

action

  • something like query for the database resource or convert for the image resource

results

  • rides on the responseid back to the calling component
  • maybe this is just a subset of <message>s?