// WriteAsync writes an object. This function is synchronous: It will wait for the answer.
// Parameter address is an address of the node to read metadata.
// Parameter data is a data of the object.
// Parameter callback is a callback to call when function is finished.
// Parameter userdata will be returned in callback as a user data. You can use this userdata to identify your request.
// It returns the status of function call.
WriteAsync writes an object. This function is synchronous: It will wait for the answer.
Parameter address is an address of the node to read metadata.
Parameter data is a data of the object.
Parameter callback is a callback to call when function is finished.
Parameter userdata will be returned in callback as a user data. You can use this userdata to identify your request.
It returns the status of function call.
// WriteAsync writes an object . This function is synchronous : It will wait for the answer . // Parameter address is an address of the node to read metadata . // Parameter data is a data of the object . // Parameter callback is a callback to call when function is finished . // Parameter userdata will be returned in callback as a user data . You can use this userdata to identify your request . // It returns the status of function call .
func (c *Client) WriteAsync(address string, data *Variant, onResponse ResponseCallback) Result {
	caddress := C.CString(address)
	defer C.free(unsafe.Pointer(caddress))
	return Result(C.ClientWriteASync(c.this, caddress, data.this, nil, responseRegister(onResponse)))
}
func ( c * Client ) WriteAsync ( address string , data * Variant , onResponse ResponseCallback ) Result { caddress := C . CString ( address ) defer C . free ( unsafe . Pointer ( caddress ) ) return Result ( C . ClientWriteASync ( c . this , caddress , data . this , nil , responseRegister ( onResponse ) ) ) }
WriteAsync writes an object.
WriteAsync writes an object .