パッケージ org.piax.gtrans.ov.sg

クラス SGMessagingFramework<E extends Endpoint>

java.lang.Object
org.piax.gtrans.ov.sg.SGMessagingFramework<E>

public class SGMessagingFramework<E extends Endpoint>
extends Object
message framework for skip graphs.

this class provides features to send a message, which is a subclass of SGMessagingFramework.SGRequestMessage, to a remote node and get an ack and a reply message, which is a subclass of SGMessagingFramework.SGReplyMessage. when a reply message arrives, SGRequestMessage#onReceivingReply(SkipGraph, SGReplyMessage) is called. if ack message timeouts, SGRequestMessage#onTimeOut(SkipGraph) is called.

the destination of the ack message and the reply message may be different node.