public RpcCuratorEvent getNextEvent(CuratorProjection projection) throws RpcException
{
try
{
CuratorEntry entry = CuratorEntry.mustGetEntry(connectionManager, projection);
RpcCuratorEvent event = entry.pollForEvent(pingTimeMs);
return (event != null) ? event : new RpcCuratorEvent();
}
catch ( InterruptedException e )
{
throw new RpcException(e);
}