OSDN Git Service

ログビューアのプロジェクトを追加
[train-delayed/source.git] / workspace / TrainDelayed / gen / com / td / service / TrainDelayedService.java
1 /*
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
4  */
5 package com.td.service;
6 public interface TrainDelayedService extends android.os.IInterface
7 {
8 /** Local-side IPC implementation stub class. */
9 public static abstract class Stub extends android.os.Binder implements com.td.service.TrainDelayedService
10 {
11 private static final java.lang.String DESCRIPTOR = "com.td.service.TrainDelayedService";
12 /** Construct the stub at attach it to the interface. */
13 public Stub()
14 {
15 this.attachInterface(this, DESCRIPTOR);
16 }
17 /**
18  * Cast an IBinder object into an com.td.service.TrainDelayedService interface,
19  * generating a proxy if needed.
20  */
21 public static com.td.service.TrainDelayedService asInterface(android.os.IBinder obj)
22 {
23 if ((obj==null)) {
24 return null;
25 }
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);
29 }
30 return new com.td.service.TrainDelayedService.Stub.Proxy(obj);
31 }
32 public android.os.IBinder asBinder()
33 {
34 return this;
35 }
36 @Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException
37 {
38 switch (code)
39 {
40 case INTERFACE_TRANSACTION:
41 {
42 reply.writeString(DESCRIPTOR);
43 return true;
44 }
45 case TRANSACTION_notify:
46 {
47 data.enforceInterface(DESCRIPTOR);
48 int _arg0;
49 _arg0 = data.readInt();
50 this.notify(_arg0);
51 reply.writeNoException();
52 return true;
53 }
54 }
55 return super.onTransact(code, data, reply, flags);
56 }
57 private static class Proxy implements com.td.service.TrainDelayedService
58 {
59 private android.os.IBinder mRemote;
60 Proxy(android.os.IBinder remote)
61 {
62 mRemote = remote;
63 }
64 public android.os.IBinder asBinder()
65 {
66 return mRemote;
67 }
68 public java.lang.String getInterfaceDescriptor()
69 {
70 return DESCRIPTOR;
71 }
72 public void notify(int id) throws android.os.RemoteException
73 {
74 android.os.Parcel _data = android.os.Parcel.obtain();
75 android.os.Parcel _reply = android.os.Parcel.obtain();
76 try {
77 _data.writeInterfaceToken(DESCRIPTOR);
78 _data.writeInt(id);
79 mRemote.transact(Stub.TRANSACTION_notify, _data, _reply, 0);
80 _reply.readException();
81 }
82 finally {
83 _reply.recycle();
84 _data.recycle();
85 }
86 }
87 }
88 static final int TRANSACTION_notify = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
89 }
90 public void notify(int id) throws android.os.RemoteException;
91 }