com.backendless.rt.RTClientWithoutSocketIO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of backendless Show documentation
Show all versions of backendless Show documentation
Android SDK used by developers to provide Backendless API in apps.
package com.backendless.rt;
import com.backendless.async.callback.Fault;
import com.backendless.async.callback.Result;
public class RTClientWithoutSocketIO implements RTClient
{
@Override
public void subscribe( RTSubscription subscription )
{
throw new NoSocketIOException();
}
@Override
public void unsubscribe( String subscriptionId )
{
throw new NoSocketIOException();
}
@Override
public void userLoggedIn( String userToken )
{
//ignore
}
@Override
public void userLoggedOut()
{
//ignore
}
@Override
public void invoke( RTMethodRequest methodRequest )
{
throw new NoSocketIOException();
}
@Override
public void setConnectEventListener( Result callback )
{
throw new NoSocketIOException();
}
@Override
public void setReconnectAttemptEventListener( Result callback )
{
throw new NoSocketIOException();
}
@Override
public void setConnectErrorEventListener( Fault fault )
{
throw new NoSocketIOException();
}
@Override
public void setDisconnectEventListener( Result callback )
{
throw new NoSocketIOException();
}
@Override
public boolean isConnected()
{
throw new NoSocketIOException();
}
@Override
public void connect()
{
throw new NoSocketIOException();
}
@Override
public void disconnect()
{
throw new NoSocketIOException();
}
@Override
public boolean isAvailable()
{
return false;
}
}