Skip to content

Instantly share code, notes, and snippets.

{
"firstRoundScore": "",
"firstRoundDifficulty": "",
"secondRound:" [
{
"score": "",
"difficulty": ""
},
13:28:15.205 [New I/O worker #1] DEBUG o.a.n.NettyAtmosphereHandler - [id: 0xe577f366, /127.0.0.1:51423 => /127.0.0.1:8080] RECEIVED: DefaultHttpRequest(chunked: false) OPTIONS /operator?X-Atmosphere-Transport=close&X-Atmosphere-tracking-id=d16e7689-7364-4d94-89dc-e889b807438a&_=1373974095203 HTTP/1.1 Host: support.dev:8080 Connection: keep-alive Access-Control-Request-Method: GET Origin: http://support.dev User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36 Access-Control-Request-Headers: origin, content-type Accept: */* Referer: http://support.dev/operator/app/index.html Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 org.jboss.netty.channel.SimpleChannelUpstreamHandler.staticMapping: true
13:28:15.207 [New I/O worker #1] DEBUG c.c.chat.protocol.CustomerProtocol - OperatorProtocol::onStateChange GET
package com.cyant.chat.protocol;
import com.cyant.chat.CustomerEvents;
import com.cyant.chat.events.customer.InitiateEvent;
import com.cyant.chat.modal.CustomerUser;
import com.cyant.chat.modal.Organisation;
import com.cyant.chat.protocol.listener.CustomerActivity;
import com.cyant.chat.service.CustomerService;
import com.cyant.chat.service.OrganisationService;
import com.fasterxml.jackson.databind.JsonNode;
package com.cyant.chat.protocol;
import com.cyant.chat.CustomerEvents;
import com.cyant.chat.events.customer.InitiateEvent;
import com.cyant.chat.modal.CustomerUser;
import com.cyant.chat.modal.Organisation;
import com.cyant.chat.protocol.listener.CustomerActivity;
import com.cyant.chat.service.OrganisationService;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
package com.cyant.chat;
import com.cyant.chat.api.Client;
import com.cyant.chat.protocol.CustomerProtocol;
import com.cyant.chat.protocol.OperatorProtocol;
import com.cyant.chat.service.OrganisationService;
import com.google.inject.AbstractModule;
import com.google.inject.Guice;
import com.google.inject.Injector;
import org.atmosphere.nettosphere.Handler;
package com.cyant.chat.protocol;
import com.cyant.chat.CustomerEvents;
import com.cyant.chat.events.customer.InitiateEvent;
import com.cyant.chat.modal.CustomerUser;
import com.cyant.chat.modal.Organisation;
import com.cyant.chat.protocol.listener.CustomerActivity;
import com.cyant.chat.service.OrganisationService;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
package com.cyant.chat.protocol.listener;
import com.cyant.chat.modal.Customer;
import com.cyant.chat.modal.customer.Activity;
import com.fasterxml.jackson.databind.JsonNode;
import org.atmosphere.cpr.AtmosphereRequest;
import org.atmosphere.cpr.AtmosphereResource;
import org.atmosphere.cpr.AtmosphereResourceEvent;
import org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter;
import org.slf4j.Logger;
package com.cyant.chat.protocol;
import com.cyant.chat.Organisation;
import com.cyant.chat.event.ErrorEvent;
import com.cyant.chat.user.CustomerUser;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.github.fge.jackson.JsonLoader;
import org.atmosphere.cache.UUIDBroadcasterCache;
import org.atmosphere.client.TrackMessageSizeInterceptor;
package com.cyant.chat.protocol;
import com.cyant.chat.Organisation;
import com.cyant.chat.event.ErrorEvent;
import com.cyant.chat.user.OperatorUser;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.github.fge.jackson.JsonLoader;
import org.atmosphere.cache.UUIDBroadcasterCache;
import org.atmosphere.client.TrackMessageSizeInterceptor;
package com.cyant.chat;
import com.cyant.chat.event.operator.AddCustomerEvent;
import com.cyant.chat.user.CustomerUser;
import com.cyant.chat.user.OperatorUser;
import org.atmosphere.cpr.*;
import java.util.ArrayList;
import java.util.Collection;