private int heartbeatTimeout;
private double lastReceivedTime;
public CometClientTransportWrapper() {
if (EventSource.isSupported()) {
transport = new EventSourceCometTransport();
}
else {
transport = GWT.create(CometTransport.class);
}
transport.initiate(CometClient.this, this);