Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] on new queue event

Looks like a mistake. Please open a bug on it.

Greg

On Oct 22, 2007, at 1:15 PM, Feiyi Wang wrote:

hi,

I have question on proxy protocol for new queue event, proxy protocol send name and state as attributes, but then why the "number of attr" is 1 in the following code? in my proxy protocol implementation, I used "2" in this case, the front end didn't complain either, how should I interpret this?

	proxy_msg_add_string(m, rm_id);	
	proxy_msg_add_int(m, 1); /* 1 new queue */
	proxy_msg_add_string(m, queue_id);
	proxy_msg_add_int(m, 1); /* 2 attributes */
	proxy_msg_add_keyval_string(m, ELEMENT_NAME_ATTR, name);
	proxy_msg_add_keyval_string(m, QUEUE_STATE_ATTR, state);

thanks

Feiyi
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev




Back to the top