| | |
| | | * |
| | | * |
| | | * Copyright 2007-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011 ForgeRock AS |
| | | * Portions Copyright 2011-2013 ForgeRock AS |
| | | */ |
| | | package org.opends.server.replication.protocol; |
| | | |
| | |
| | | |
| | | /* Read DS assured flag */ |
| | | boolean assuredFlag; |
| | | if (in[pos++] == 1) |
| | | { |
| | | assuredFlag = true; |
| | | } else |
| | | { |
| | | assuredFlag = false; |
| | | } |
| | | assuredFlag = in[pos++] == 1; |
| | | |
| | | /* Read DS assured mode */ |
| | | AssuredMode assuredMode = AssuredMode.valueOf(in[pos++]); |
| | |
| | | } |
| | | |
| | | /* Read Protocol version */ |
| | | protocolVersion = Short.valueOf(in[pos++]); |
| | | protocolVersion = (short)in[pos++]; |
| | | } |
| | | |
| | | /* Now create DSInfo and store it in list */ |