Code example for Parcel

Methods: createByteArrayenforceInterfacereadIntreadString

0
reply.writeString(DESCRIPTOR);
return true; 
} 
case TRANSACTION_open:
{ 
data.enforceInterface(DESCRIPTOR);
this.open();
reply.writeNoException();
return true; 
} 
case TRANSACTION_close:
{ 
data.enforceInterface(DESCRIPTOR);
this.close();
reply.writeNoException();
return true; 
} 
case TRANSACTION_disconnect:
{ 
data.enforceInterface(DESCRIPTOR);
this.disconnect();
reply.writeNoException();
return true; 
} 
case TRANSACTION_send:
{ 
data.enforceInterface(DESCRIPTOR);
java.lang.String _arg0;
_arg0 = data.readString();
this.send(_arg0);
reply.writeNoException();
return true; 
} 
case TRANSACTION_sendText:
{ 
data.enforceInterface(DESCRIPTOR);
java.lang.String _arg0;
_arg0 = data.readString();
java.lang.String _arg1;
_arg1 = data.readString();
this.sendText(_arg0, _arg1);
reply.writeNoException();
return true; 
} 
case TRANSACTION_broadcastText:
{ 
data.enforceInterface(DESCRIPTOR);
java.lang.String _arg0;
_arg0 = data.readString();
this.broadcastText(_arg0);
reply.writeNoException();
return true; 
} 
case TRANSACTION_sendToken:
{ 
data.enforceInterface(DESCRIPTOR);
org.jwebsocket.android.library.ParcelableToken _arg0;
if ((0!=data.readInt())) {
_arg0 = org.jwebsocket.android.library.ParcelableToken.CREATOR.createFromParcel(data);
} 
else { 
_arg0 = null;
} 
this.sendToken(_arg0);
reply.writeNoException();
return true; 
} 
case TRANSACTION_saveFile:
{ 
data.enforceInterface(DESCRIPTOR);
java.lang.String _arg0;
_arg0 = data.readString();
java.lang.String _arg1;
_arg1 = data.readString();
boolean _arg2;
_arg2 = (0!=data.readInt());
byte[] _arg3;
_arg3 = data.createByteArray();
this.saveFile(_arg0, _arg1, _arg2, _arg3);
reply.writeNoException();
return true; 
} 
case TRANSACTION_getUsername:
{ 
data.enforceInterface(DESCRIPTOR);
java.lang.String _result = this.getUsername();
reply.writeNoException();
reply.writeString(_result);
return true; 
} 
case TRANSACTION_login:
{ 
data.enforceInterface(DESCRIPTOR);
java.lang.String _arg0;
_arg0 = data.readString();
java.lang.String _arg1;
_arg1 = data.readString();
this.login(_arg0, _arg1);
reply.writeNoException();
return true; 
} 
case TRANSACTION_logout:
{ 
data.enforceInterface(DESCRIPTOR);
this.logout();
reply.writeNoException();
return true; 
} 
case TRANSACTION_ping:
{ 
data.enforceInterface(DESCRIPTOR);
boolean _arg0;
_arg0 = (0!=data.readInt());
this.ping(_arg0);
reply.writeNoException();
return true; 
} 
case TRANSACTION_getConnections:
{ 
data.enforceInterface(DESCRIPTOR);
this.getConnections();
reply.writeNoException();
return true; 
} 
case TRANSACTION_isAuthenticated:
{ 
data.enforceInterface(DESCRIPTOR);
boolean _result = this.isAuthenticated();
reply.writeNoException();
reply.writeInt(((_result)?(1):(0)));
return true; 
} 
case TRANSACTION_registerCallback:
{ 
data.enforceInterface(DESCRIPTOR);
org.jwebsocket.android.library.IJWSAndroidRemoteServiceCallback _arg0;
_arg0 = org.jwebsocket.android.library.IJWSAndroidRemoteServiceCallback.Stub.asInterface(data.readStrongBinder());
this.registerCallback(_arg0);
reply.writeNoException();
return true; 
} 
case TRANSACTION_unregisterCallback:
{ 
data.enforceInterface(DESCRIPTOR);
org.jwebsocket.android.library.IJWSAndroidRemoteServiceCallback _arg0;
_arg0 = org.jwebsocket.android.library.IJWSAndroidRemoteServiceCallback.Stub.asInterface(data.readStrongBinder());
this.unregisterCallback(_arg0);
reply.writeNoException();
return true; 
Connect your IDE to all the code out there  Get Codota for Java