Previous Up Next

2  SPL program

A SPL program consists of a service name and a service construct.

program   ::=   service ident {service}
service   ::=   processing {declarations ? session *}
session   ::=   registration {declarations ? session *}
  | dialog {declarations ? method +}
  | event eventIdent {declarations ? method +}
  | method
method   ::=   typExp direction ? methodName(arg ?) {stmt +}
  | typExp direction ? methodName(arg ?) {branch +}
branch   ::=   branch ident (| ident) * {stmt +}
  | branch default {stmt +}
direction   ::=   incoming
  | outgoing
methodName   ::=   SIPmethod
  | ctrlMethod
SIPmethod   ::=   ACK
  | BYE
  | CANCEL
  | INVITE
  | NOTIFY
  | OPTIONS
  | REACK
  | REGISTER
  | REINVITE
  | REREGISTER
  | RESUBSCRIBE
  | SUBSCRIBE
ctrlMethod   ::=   deploy
  | undeploy
  | uninvite
  | unregister
  | unsubscribe


Notes :
Previous Up Next