@@ -718,6 +718,7 @@ public <T> Single<T> invoke(Class<T> returnType, String method, Object... args)
718
718
719
719
/**
720
720
* Invokes a hub method on the server using the specified method name and arguments.
721
+ * A Type can be retrieved using {@link TypeReference}
721
722
*
722
723
* @param returnType The expected return type.
723
724
* @param method The name of the server method to invoke.
@@ -1097,6 +1098,7 @@ public <T1, T2, T3, T4, T5, T6, T7, T8> Subscription on(String target, Action8<T
1097
1098
/**
1098
1099
* Registers a handler that will be invoked when the hub method with the specified method name is invoked.
1099
1100
* Should be used for generic classes and Parameterized Collections, like List or Map.
1101
+ * A Type can be retrieved using {@link TypeReference}
1100
1102
*
1101
1103
* @param target The name of the hub method to define.
1102
1104
* @param callback The handler that will be raised when the hub method is invoked.
@@ -1113,6 +1115,7 @@ public <T1> Subscription on(String target, Action1<T1> callback, Type param1) {
1113
1115
/**
1114
1116
* Registers a handler that will be invoked when the hub method with the specified method name is invoked.
1115
1117
* Should be used for generic classes and Parameterized Collections, like List or Map.
1118
+ * A Type can be retrieved using {@link TypeReference}
1116
1119
*
1117
1120
* @param target The name of the hub method to define.
1118
1121
* @param callback The handler that will be raised when the hub method is invoked.
@@ -1133,6 +1136,7 @@ public <T1, T2> Subscription on(String target, Action2<T1, T2> callback, Type pa
1133
1136
/**
1134
1137
* Registers a handler that will be invoked when the hub method with the specified method name is invoked.
1135
1138
* Should be used for generic classes and Parameterized Collections, like List or Map.
1139
+ * A Type can be retrieved using {@link TypeReference}
1136
1140
*
1137
1141
* @param target The name of the hub method to define.
1138
1142
* @param callback The handler that will be raised when the hub method is invoked.
@@ -1157,6 +1161,7 @@ public <T1, T2, T3> Subscription on(String target, Action3<T1, T2, T3> callback,
1157
1161
/**
1158
1162
* Registers a handler that will be invoked when the hub method with the specified method name is invoked.
1159
1163
* Should be used for generic classes and Parameterized Collections, like List or Map.
1164
+ * A Type can be retrieved using {@link TypeReference}
1160
1165
*
1161
1166
* @param target The name of the hub method to define.
1162
1167
* @param callback The handler that will be raised when the hub method is invoked.
@@ -1183,6 +1188,7 @@ public <T1, T2, T3, T4> Subscription on(String target, Action4<T1, T2, T3, T4> c
1183
1188
/**
1184
1189
* Registers a handler that will be invoked when the hub method with the specified method name is invoked.
1185
1190
* Should be used for generic classes and Parameterized Collections, like List or Map.
1191
+ * A Type can be retrieved using {@link TypeReference}
1186
1192
*
1187
1193
* @param target The name of the hub method to define.
1188
1194
* @param callback The handler that will be raised when the hub method is invoked.
@@ -1212,6 +1218,7 @@ public <T1, T2, T3, T4, T5> Subscription on(String target, Action5<T1, T2, T3, T
1212
1218
/**
1213
1219
* Registers a handler that will be invoked when the hub method with the specified method name is invoked.
1214
1220
* Should be used for generic classes and Parameterized Collections, like List or Map.
1221
+ * A Type can be retrieved using {@link TypeReference}
1215
1222
*
1216
1223
* @param target The name of the hub method to define.
1217
1224
* @param callback The handler that will be raised when the hub method is invoked.
@@ -1243,6 +1250,7 @@ public <T1, T2, T3, T4, T5, T6> Subscription on(String target, Action6<T1, T2, T
1243
1250
/**
1244
1251
* Registers a handler that will be invoked when the hub method with the specified method name is invoked.
1245
1252
* Should be used for generic classes and Parameterized Collections, like List or Map.
1253
+ * A Type can be retrieved using {@link TypeReference}
1246
1254
*
1247
1255
* @param target The name of the hub method to define.
1248
1256
* @param callback The handler that will be raised when the hub method is invoked.
@@ -1277,6 +1285,7 @@ public <T1, T2, T3, T4, T5, T6, T7> Subscription on(String target, Action7<T1, T
1277
1285
/**
1278
1286
* Registers a handler that will be invoked when the hub method with the specified method name is invoked.
1279
1287
* Should be used for generic classes and Parameterized Collections, like List or Map.
1288
+ * A Type can be retrieved using {@link TypeReference}
1280
1289
*
1281
1290
* @param target The name of the hub method to define.
1282
1291
* @param callback The handler that will be raised when the hub method is invoked.
0 commit comments