code: private static ConnectionCallback<SPF> asBase(final ConnectionListener listener) {
  		return new ConnectionCallback<SPF>() {
  
  			@Override
  			public void onServiceReady(SPF serviceInterface) {
  				listener.onConnected(serviceInterface);
  			}
  
  			@Override
  			public void onError(SPFError err) {
  				listener.onError(err);
  			}
  
  			@Override
  			public void onDisconnect() {
  				listener.onDisconnected();
  			}
  		};
  	}
docs: FIXME ConnectionListener should extends ConnectionCallback<SPF>, but method names are different