| | |
| | | /** |
| | | * The serverId of the remote server. |
| | | */ |
| | | protected short serverId; |
| | | protected int serverId; |
| | | /** |
| | | * The session opened with the remote server. |
| | | */ |
| | |
| | | ProtocolSession session, |
| | | int queueSize, |
| | | String replicationServerURL, |
| | | short replicationServerId, |
| | | int replicationServerId, |
| | | ReplicationServer replicationServer, |
| | | int rcvWindowSize) |
| | | { |
| | |
| | | * |
| | | * @return the ID of the server to which this object is linked |
| | | */ |
| | | public short getServerId() |
| | | public int getServerId() |
| | | { |
| | | return serverId; |
| | | } |
| | |
| | | // Timeout |
| | | Message message = NOTE_TIMEOUT_WHEN_CROSS_CONNECTION.get( |
| | | getServiceId(), |
| | | Short.toString(serverId), |
| | | Short.toString(replicationServerId)); |
| | | Integer.toString(serverId), |
| | | Integer.toString(replicationServerId)); |
| | | throw new DirectoryException(ResultCode.OTHER, message); |
| | | } |
| | | } |