Esempio n. 1
0
File: main.go Progetto: newgogo/Exis
//export Call
func Call(pdomain unsafe.Pointer, endpoint *C.char, cb uint64, eb uint64, args *C.char, types *C.char) {
	d := *(*core.Domain)(pdomain)
	go core.MantleCall(d, C.GoString(endpoint), cb, eb, core.MantleUnmarshal(C.GoString(args)), core.MantleUnmarshal(C.GoString(types)))
}
Esempio n. 2
0
File: main.go Progetto: newgogo/Exis
//export Yield
func Yield(pdomain unsafe.Pointer, request uint64, args *C.char) {
	d := *(*core.Domain)(pdomain)
	go d.GetApp().Yield(request, core.MantleUnmarshal(C.GoString(args)))
}
Esempio n. 3
0
File: main.go Progetto: newgogo/Exis
//export Register
func Register(pdomain unsafe.Pointer, endpoint *C.char, cb uint64, eb uint64, hn uint64, types *C.char) {
	d := *(*core.Domain)(pdomain)
	go core.MantleRegister(d, C.GoString(endpoint), cb, eb, hn, core.MantleUnmarshal(C.GoString(types)))
}
Esempio n. 4
0
File: main.go Progetto: newgogo/Exis
//export Publish
func Publish(pdomain unsafe.Pointer, endpoint *C.char, cb uint64, eb uint64, args *C.char) {
	d := *(*core.Domain)(pdomain)
	go core.MantlePublish(d, C.GoString(endpoint), cb, eb, core.MantleUnmarshal(C.GoString(args)))
}
Esempio n. 5
0
File: main.go Progetto: newgogo/Exis
func (d *Domain) Call(endpoint string, cb uint64, eb uint64, args string, types string) {
	go core.MantleCall(d.coreDomain, endpoint, cb, eb, core.MantleUnmarshal(args), core.MantleUnmarshal(types))
}
Esempio n. 6
0
File: main.go Progetto: newgogo/Exis
func (d *Domain) Yield(request uint64, args string) {
	go d.coreDomain.GetApp().Yield(request, core.MantleUnmarshal(args))
}
Esempio n. 7
0
File: main.go Progetto: newgogo/Exis
func (d *Domain) Publish(endpoint string, cb uint64, eb uint64, args string) {
	go core.MantlePublish(d.coreDomain, endpoint, cb, eb, core.MantleUnmarshal(args))
}
Esempio n. 8
0
File: main.go Progetto: newgogo/Exis
func (d *Domain) Register(endpoint string, cb uint64, eb uint64, fn uint64, types string) {
	go core.MantleRegister(d.coreDomain, endpoint, cb, eb, fn, core.MantleUnmarshal(types))
}
Esempio n. 9
0
File: main.go Progetto: newgogo/Exis
func (d *Domain) Subscribe(endpoint string, cb uint64, eb uint64, fn uint64, types string) {
	go core.MantleSubscribe(d.coreDomain, endpoint, cb, eb, fn, core.MantleUnmarshal(types))
}
Esempio n. 10
0
func (d *Domain) YieldError(request uint64, etype string, args string) {
	go d.coreDomain.GetApp().YieldError(request, etype, core.MantleUnmarshal(args))
}
Esempio n. 11
0
func (d *Domain) CallExpects(cb uint64, types string) {
	go d.coreDomain.CallExpects(cb, core.MantleUnmarshal(types))
}