コード例 #1
0
ファイル: service.go プロジェクト: BackupTheBerlios/nhi1-svn
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
ファイル: send.go プロジェクト: BackupTheBerlios/nhi1-svn
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
ファイル: config.go プロジェクト: BackupTheBerlios/nhi1-svn
func (this *MqS) ConfigSetTimeout(val int64) {
	C.MqConfigSetTimeout((*_Ctype_struct_MqS)(this), C.MQ_TIME_T(val))
}