开发者

Multi object Communication between instances in J groups

I have a program which needs to communicate itself under Multi Instances. It like if a instance has loaded a object from DB, other instances would jus use them.

The getState and setState in J-groups implementing Receiver supports only one object to communicate.. Is there s way to communica开发者_如何学JAVAte between the Instances


Yes, the send() method of the Channel class does that. You can send your message to every nodes of the cluster or just a specific node.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜