You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by ja...@apache.org on 2004/11/15 12:42:37 UTC
cvs commit: ws-fx/sandesha/src/org/apache/sandesha RMMessageContext.java
jaliya 2004/11/15 03:42:37
Modified: sandesha/src/org/apache/sandesha RMMessageContext.java
Log:
A boolean field was added to RMMessageContext to hold the sending state.
This field will hold the state so that the Sender can decide whether the message
should be sent synchronously or asynchronously
Revision Changes Path
1.12 +15 -0 ws-fx/sandesha/src/org/apache/sandesha/RMMessageContext.java
Index: RMMessageContext.java
===================================================================
RCS file: /home/cvs/ws-fx/sandesha/src/org/apache/sandesha/RMMessageContext.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- RMMessageContext.java 20 Oct 2004 10:21:10 -0000 1.11
+++ RMMessageContext.java 15 Nov 2004 11:42:37 -0000 1.12
@@ -55,6 +55,8 @@
private long lastSentTime = 0;
+ private boolean sync=false;
+
//This will be used to handle the relates to field.
//When sending the response messages from the server
private String oldSequenceID = null;
@@ -386,6 +388,19 @@
public void setLastSentTime(long l) {
lastSentTime = l;
+ }
+
+ /**
+ * @param b
+ */
+ public void setSync(boolean sync) {
+ this.sync=sync;
+
+ }
+
+ public boolean getSync(){
+
+ return sync;
}
}