Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ns

  • Loading branch information...
commit 1c3376398998bfb2da74edf16f03e7c4aa82257f 1 parent 4b8c62b
@belaban authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/org/jgroups/Address.java
View
6 src/org/jgroups/Address.java
@@ -14,9 +14,9 @@
*/
public interface Address extends Externalizable, Streamable, Comparable<Address>, Cloneable { // todo: remove Externalizable
// flags used for marshalling
- public static final byte NULL = 1;
- public static final byte UUID_ADDR = 2;
- public static final byte IP_ADDR = 4;
+ public static final byte NULL = 1 << 0;
+ public static final byte UUID_ADDR = 1 << 1;
+ public static final byte IP_ADDR = 1 << 2;
/**
* Checks whether this is an address that represents multiple destinations;
Please sign in to comment.
Something went wrong with that request. Please try again.