def takPong(VERSION=vars.takPong().version, UID=vars.takPong().uid, TYPE=vars.takPong().type, HOW=vars.takPong().how, TIME=vars.takPong().time, START=vars.takPong().start, STALE=vars.takPong().stale): event = Event() event.setversion(VERSION) event.setuid(UID) event.settype(TYPE) event.sethow(HOW) event.settime(TIME) event.setstart(START) event.setstale(STALE) event.point = Point() return event
def GeoChat(version=vars.geochat().VERSIONNUM, uid=vars.geochat().UID, type=vars.geochat().TYPE, how=vars.geochat().HOW, time=vars.geochat().TIME, start=vars.geochat().START, stale=vars.geochat().STALE): event = Event() event.setdetail(Detail.GeoChat()) event.setpoint(Point()) event.setversion(version) event.setuid(uid) event.settype(type) event.sethow(how) event.settime(time) event.setstart(start) event.setstale(stale) return event
def Route(VERSION=vars.Route().version, UID=vars.Route().uid, TYPE=vars.Route().type, TIME=vars.Route().time, START=vars.Route().start, STALE=vars.Route().stale, HOW=vars.Route().how): event = Event() event.setversion(VERSION) event.setuid(UID) event.settype(TYPE) event.settime(TIME) event.setstart(START) event.setstale(STALE) event.sethow(HOW) event.point = Point() event.detail = Detail.Route() return event