示例#1
0
文件: main.go 项目: 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)))
}
示例#2
0
文件: main.go 项目: 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)))
}
示例#3
0
文件: main.go 项目: 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)))
}
示例#4
0
文件: main.go 项目: 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)))
}
示例#5
0
文件: main.go 项目: 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))
}
示例#6
0
文件: main.go 项目: newgogo/Exis
func (d *Domain) Yield(request uint64, args string) {
	go d.coreDomain.GetApp().Yield(request, core.MantleUnmarshal(args))
}
示例#7
0
文件: main.go 项目: 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))
}
示例#8
0
文件: main.go 项目: 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))
}
示例#9
0
文件: main.go 项目: 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))
}
示例#10
0
文件: main.go 项目: kevinherro/Exis
func (d *Domain) YieldError(request uint64, etype string, args string) {
	go d.coreDomain.GetApp().YieldError(request, etype, core.MantleUnmarshal(args))
}
示例#11
0
文件: main.go 项目: kevinherro/Exis
func (d *Domain) CallExpects(cb uint64, types string) {
	go d.coreDomain.CallExpects(cb, core.MantleUnmarshal(types))
}