示例#1
0
func (this *MqS) ProcessEvent2(timeout TIMEOUT, wait WAIT) {
	this.iErrorMqToGoWithCheck(C.MqProcessEvent((*_Ctype_struct_MqS)(this), C.MQ_TIME_T(timeout), uint32(wait)))
}
示例#2
0
func (this *MqS) SendEND_AND_WAIT(token string, timeout TIMEOUT) {
	t := C.CString(token)
	r := C.MqSendEND_AND_WAIT((*_Ctype_struct_MqS)(this), t, C.MQ_TIME_T(timeout))
	C.free(unsafe.Pointer(t))
	this.iErrorMqToGoWithCheck(r)
}
示例#3
0
func (this *MqS) ConfigSetTimeout(val int64) {
	C.MqConfigSetTimeout((*_Ctype_struct_MqS)(this), C.MQ_TIME_T(val))
}