Beispiel #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)))
}
Beispiel #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)
}
Beispiel #3
0
func (this *MqS) ConfigSetTimeout(val int64) {
	C.MqConfigSetTimeout((*_Ctype_struct_MqS)(this), C.MQ_TIME_T(val))
}