| | |
| | | private ProtocolSession session; |
| | | private ECLServerHandler handler; |
| | | private ReplicationServerDomain replicationServerDomain; |
| | | private short protocolVersion = -1; |
| | | private boolean suspended; |
| | | private boolean shutdown; |
| | | private PersistentSearch mypsearch; |
| | |
| | | this.session = session; |
| | | this.handler = handler; |
| | | this.replicationServerDomain = replicationServerDomain; |
| | | // Keep protocol version locally for efficiency |
| | | this.protocolVersion = handler.getProtocolVersion(); |
| | | this.suspended = false; |
| | | this.shutdown = false; |
| | | |
| | |
| | | // Done is used to end phase 1 |
| | | session.publish(new DoneMsg( |
| | | handler.getReplicationServerId(), |
| | | handler.getServerId()), protocolVersion); |
| | | handler.getServerId())); |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | if (session!=null) |
| | | { |
| | | session.publish(msg, protocolVersion); |
| | | session.publish(msg); |
| | | } |
| | | else |
| | | { |