2 * This file is auto-generated. DO NOT MODIFY.
3 * Original file: C:\\yuji\\prog\\Android\\workspaces\\train_delayed\\workspace\\TrainDelayed\\src\\com\\td\\service\\TrainDelayedService.aidl
5 package com.td.service;
6 public interface TrainDelayedService extends android.os.IInterface
8 /** Local-side IPC implementation stub class. */
9 public static abstract class Stub extends android.os.Binder implements com.td.service.TrainDelayedService
11 private static final java.lang.String DESCRIPTOR = "com.td.service.TrainDelayedService";
12 /** Construct the stub at attach it to the interface. */
15 this.attachInterface(this, DESCRIPTOR);
18 * Cast an IBinder object into an com.td.service.TrainDelayedService interface,
19 * generating a proxy if needed.
21 public static com.td.service.TrainDelayedService asInterface(android.os.IBinder obj)
26 android.os.IInterface iin = (android.os.IInterface)obj.queryLocalInterface(DESCRIPTOR);
27 if (((iin!=null)&&(iin instanceof com.td.service.TrainDelayedService))) {
28 return ((com.td.service.TrainDelayedService)iin);
30 return new com.td.service.TrainDelayedService.Stub.Proxy(obj);
32 public android.os.IBinder asBinder()
36 @Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException
40 case INTERFACE_TRANSACTION:
42 reply.writeString(DESCRIPTOR);
45 case TRANSACTION_notify:
47 data.enforceInterface(DESCRIPTOR);
49 _arg0 = data.readInt();
51 reply.writeNoException();
55 return super.onTransact(code, data, reply, flags);
57 private static class Proxy implements com.td.service.TrainDelayedService
59 private android.os.IBinder mRemote;
60 Proxy(android.os.IBinder remote)
64 public android.os.IBinder asBinder()
68 public java.lang.String getInterfaceDescriptor()
72 public void notify(int id) throws android.os.RemoteException
74 android.os.Parcel _data = android.os.Parcel.obtain();
75 android.os.Parcel _reply = android.os.Parcel.obtain();
77 _data.writeInterfaceToken(DESCRIPTOR);
79 mRemote.transact(Stub.TRANSACTION_notify, _data, _reply, 0);
80 _reply.readException();
88 static final int TRANSACTION_notify = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
90 public void notify(int id) throws android.os.RemoteException;