"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tc-messaging/src/main/java/com/tc/net/groups/AbstractGroupMessage.java" between
terracotta-core-5.7.0.tar.gz and terracotta-core-5.7.1.tar.gz

About: Terracotta - Clustering technology for Java ("Network Attached Memory", "Distributed Cache"). Source code of the server (5.x) core components.

AbstractGroupMessage.java  (terracotta-core-5.7.0):AbstractGroupMessage.java  (terracotta-core-5.7.1)
skipping to change at line 23 skipping to change at line 23
* The Covered Software is Terracotta Core. * The Covered Software is Terracotta Core.
* *
* The Initial Developer of the Covered Software is * The Initial Developer of the Covered Software is
* Terracotta, Inc., a Software AG company * Terracotta, Inc., a Software AG company
* *
*/ */
package com.tc.net.groups; package com.tc.net.groups;
import com.tc.io.TCByteBufferInput; import com.tc.io.TCByteBufferInput;
import com.tc.io.TCByteBufferOutput; import com.tc.io.TCByteBufferOutput;
import com.tc.net.NodeID;
import com.tc.net.ServerID; import com.tc.net.ServerID;
import com.tc.net.protocol.tcm.TCMessageImpl; import com.tc.net.protocol.tcm.TCMessageImpl;
import java.io.IOException; import java.io.IOException;
public abstract class AbstractGroupMessage implements GroupMessage { public abstract class AbstractGroupMessage implements GroupMessage {
private static long nextID = 0; private static long nextID = 0;
private int type; private int type;
private MessageID id; private MessageID id;
private MessageID requestID; private MessageID requestID;
private transient NodeID messageOrginator = ServerID.NULL_ID; private transient ServerID messageOrginator = ServerID.NULL_ID;
protected AbstractGroupMessage(int type) { protected AbstractGroupMessage(int type) {
this.type = type; this.type = type;
this.id = getNextID(); this.id = getNextID();
this.requestID = MessageID.NULL_ID; this.requestID = MessageID.NULL_ID;
} }
protected AbstractGroupMessage(int type, MessageID requestID) { protected AbstractGroupMessage(int type, MessageID requestID) {
this.type = type; this.type = type;
this.id = getNextID(); this.id = getNextID();
skipping to change at line 97 skipping to change at line 96
public MessageID getMessageID() { public MessageID getMessageID() {
return this.id; return this.id;
} }
@Override @Override
public MessageID inResponseTo() { public MessageID inResponseTo() {
return this.requestID; return this.requestID;
} }
@Override @Override
public void setMessageOrginator(NodeID n) { public void setMessageOrginator(ServerID n) {
this.messageOrginator = n; this.messageOrginator = n;
} }
@Override @Override
public NodeID messageFrom() { public ServerID messageFrom() {
return this.messageOrginator; return this.messageOrginator;
} }
} }
 End of changes. 4 change blocks. 
4 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)