You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by martymusk <ma...@email.it> on 2008/01/04 11:43:08 UTC
STATES_CONSUMER
Hy,
what means the following snippet of code?
private static int[][] STATES_CONSUMER = {
{ CAN_CONSUMER + CAN_OWNER + CAN_SET_IN_MSG + CAN_SEND +
CAN_STATUS_ACTIVE, 1, -1, -1, -1},
{ CAN_CONSUMER, 2, 2, 3, 3 },
{ CAN_CONSUMER + CAN_OWNER + CAN_SEND + CAN_STATUS_ERROR +
CAN_STATUS_DONE, -1, -1, 4, 4},
{ CAN_CONSUMER + CAN_OWNER, -1, -1, -1, -1 },
{ CAN_CONSUMER, -1, -1, -1, -1 },
};
Or rather, what indicate fields of vector?
I hope you can help me,
Thanks in advance
Martina
--
View this message in context: http://www.nabble.com/STATES_CONSUMER-tp14614029s12049p14614029.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: STATES_CONSUMER
Posted by Guillaume Nodet <gn...@gmail.com>.
This is used to indicate valid transitions for the message exchange. Each
line is a state, the first number representing capabilities and the
following ones, new state depending on the status of the exchange.
On Jan 4, 2008 11:43 AM, martymusk <ma...@email.it> wrote:
>
> Hy,
> what means the following snippet of code?
>
> private static int[][] STATES_CONSUMER = {
> { CAN_CONSUMER + CAN_OWNER + CAN_SET_IN_MSG + CAN_SEND +
> CAN_STATUS_ACTIVE, 1, -1, -1, -1},
> { CAN_CONSUMER, 2, 2, 3, 3 },
> { CAN_CONSUMER + CAN_OWNER + CAN_SEND + CAN_STATUS_ERROR +
> CAN_STATUS_DONE, -1, -1, 4, 4},
> { CAN_CONSUMER + CAN_OWNER, -1, -1, -1, -1 },
> { CAN_CONSUMER, -1, -1, -1, -1 },
> };
>
> Or rather, what indicate fields of vector?
>
> I hope you can help me,
>
> Thanks in advance
> Martina
> --
> View this message in context:
> http://www.nabble.com/STATES_CONSUMER-tp14614029s12049p14614029.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/