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 java-sdk-common Show documentation
Show all versions of java-sdk-common Show documentation
Provides access to Backendless API
The newest version!
package com.backendless.rt;
import com.backendless.async.callback.Fault;
import com.backendless.async.callback.Result;
class RTClientWithoutSocketIO implements RTClient
{
RTClientWithoutSocketIO()
{
}
@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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy