okSocket库的使用


优秀第三方库okSocket的使用,长连接加喂狗,心跳包等等使用
资源截图
代码片段和文件信息
/*
 * This file is auto-generated.  DO NOT MODIFY.
 * Original file: F:\APP\TourHotel\app\src\main\aidl\com\andrem\gute\tourhotel\SocketAidlInterface.aidl
 */
package com.andrem.gute.tourhotel;
// Declare any non-default types here with import statements

public interface SocketAidlInterface extends android.os.IInterface
{
/** Local-side IPC implementation stub class. */
public static abstract class Stub extends android.os.Binder implements com.andrem.gute.tourhotel.SocketAidlInterface
{
private static final java.lang.String DEscriptOR = “com.andrem.gute.tourhotel.SocketAidlInterface“;
/** Construct the stub at attach it to the interface. */
public Stub()
{
this.attachInterface(this DEscriptOR);
}
/**
 * Cast an IBinder object into an com.andrem.gute.tourhotel.SocketAidlInterface interface
 * generating a proxy if needed.
 */
public static com.andrem.gute.tourhotel.SocketAidlInterface asInterface(android.os.IBinder obj)
{
if ((obj==null)) {
return null;
}
android.os.IInterface iin = obj.queryLocalInterface(DEscriptOR);
if (((iin!=null)&&(iin instanceof com.andrem.gute.tourhotel.SocketAidlInterface))) {
return ((com.andrem.gute.tourhotel.SocketAidlInterface)iin);
}
return new com.andrem.gute.tourhotel.SocketAidlInterface.Stub.Proxy(obj);
}
@Override public android.os.IBinder asBinder()
{
return this;
}
@Override public boolean onTransact(int code android.os.Parcel data android.os.Parcel reply int flags) throws android.os.RemoteException
{
switch (code)
{
case INTERFACE_TRANSACTION:
{
reply.writeString(DEscriptOR);
return true;
}
case TRANSACTION_writeData:
{
data.enforceInterface(DEscriptOR);
java.lang.String _arg0;
_arg0 = data.readString();
this.writeData(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_readResponse:
{
data.enforceInterface(DEscriptOR);
java.lang.String _result = this.readResponse();
reply.writeNoException();
reply.writeString(_result);
return true;
}
case TRANSACTION_socketConnetion:
{
data.enforceInterface(DEscriptOR);
java.lang.String _arg0;
_arg0 = data.readString();
int _arg1;
_arg1 = data.readInt();
java.lang.String _result = this.socketConnetion(_arg0 _arg1);
reply.writeNoException();
reply.writeString(_result);
return true;
}
case TRANSACTION_disconnecting:
{
data.enforceInterface(DEscriptOR);
this.disconnecting();
reply.writeNoException();
return true;
}
}
return super.onTransact(code data reply flags);
}
private static class Proxy implements com.andrem.gute.tourhotel.SocketAidlInterface
{
private android.os.IBinder mRemote;
Proxy(android.os.IBinder remote)
{
mRemote = remote;
}
@Override public android.os.IBinder asBinder()
{
return mRemote;
}
public java.lang.String getInterfaceDescriptor()
{
return DEscriptOR;
}
//写数据

@Override public void writeData(java.lang.String data) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DEscriptOR);
_data.writeString(d

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        127  2018-11-06 09:16  TourHotel.gitignore

     文件          1  2018-11-06 11:52  TourHotel.gradle4.1fileChangeslast-build.bin

     文件         17  2018-11-06 10:53  TourHotel.gradle4.1fileContentfileContent.lock

     文件     422182  2018-11-06 11:52  TourHotel.gradle4.1fileHashesfileHashes.bin

     文件         17  2018-11-06 11:52  TourHotel.gradle4.1fileHashesfileHashes.lock

     文件      21693  2018-11-06 10:50  TourHotel.gradle4.1fileHashes
esourceHashesCache.bin

     文件    1229408  2018-11-06 10:24  TourHotel.gradle4.1javaCompileclassAnalysis.bin

     文件     511207  2018-11-06 10:24  TourHotel.gradle4.1javaCompilejarAnalysis.bin

     文件         17  2018-11-06 10:24  TourHotel.gradle4.1javaCompilejavaCompile.lock

     文件      88973  2018-11-06 10:24  TourHotel.gradle4.1javaCompile askHistory.bin

     文件      22538  2018-11-06 10:24  TourHotel.gradle4.1javaCompile askJars.bin

     文件    2330475  2018-11-06 11:52  TourHotel.gradle4.1 askHistoryfileSnapshots.bin

     文件      75581  2018-11-06 11:52  TourHotel.gradle4.1 askHistory askHistory.bin

     文件         17  2018-11-06 11:52  TourHotel.gradle4.1 askHistory askHistory.lock

     文件          0  2018-11-06 09:16  TourHotel.gradleuildOutputCleanupuilt.bin

     文件         51  2018-11-06 09:16  TourHotel.gradleuildOutputCleanupcache.properties

     文件          2  2018-11-06 11:51  TourHotel.gradleuildOutputCleanupcache.properties.lock

     文件        626  2018-11-06 09:17  TourHotel.ideagradle.xml

     文件        533  2018-11-06 11:48  TourHotel.idealibrariesandroid_arch_core_common_1_1_0_jar.xml

     文件        647  2018-11-06 11:48  TourHotel.idealibrariesandroid_arch_core_runtime_1_1_0.xml

     文件        547  2018-11-06 11:48  TourHotel.idealibrariesandroid_arch_lifecycle_common_1_1_0_jar.xml

     文件        688  2018-11-06 11:48  TourHotel.idealibrariesandroid_arch_lifecycle_livedata_core_1_1_0.xml

     文件        658  2018-11-06 11:48  TourHotel.idealibrariesandroid_arch_lifecycle_runtime_1_1_0.xml

     文件        668  2018-11-06 11:48  TourHotel.idealibrariesandroid_arch_lifecycle_viewmodel_1_1_0.xml

     文件        742  2018-11-06 11:48  TourHotel.idealibrariescom_android_support_animated_vector_drawable_27_1_1.xml

     文件        682  2018-11-06 11:48  TourHotel.idealibrariescom_android_support_appcompat_v7_27_1_1.xml

     文件        501  2018-11-06 11:48  TourHotel.idealibrariescom_android_support_constraint_constraint_layout_1_1_3.xml

     文件        425  2018-11-06 11:48  TourHotel.idealibrariescom_android_support_constraint_constraint_layout_solver_1_1_3_jar.xml

     文件        652  2018-11-06 11:48  TourHotel.idealibrariescom_android_support_design_27_1_1.xml

     文件        697  2018-11-06 11:48  TourHotel.idealibrariescom_android_support_recyclerview_v7_27_1_1.xml

............此处省略2076个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)