Esempio n. 1
0
 public static NngResult <ISendReceiveAsyncContext <T> > CreateAsyncContext <T>(this IRespondentSocket socket, IAPIFactory <T> factory) => factory.CreateSendReceiveAsyncContext(socket, SendReceiveContextSubtype.Survey);
Esempio n. 2
0
 public static NngResult <ISendReceiveAsyncContext <T> > CreateAsyncContext <T>(this IPairSocket socket, IAPIFactory <T> factory) => factory.CreateSendReceiveAsyncContext(socket, SendReceiveContextSubtype.Pair);
Esempio n. 3
0
 public static INngResult <ISendReceiveAsyncContext <T> > CreateAsyncContext <T>(this IBusSocket socket, IAPIFactory <T> factory) => factory.CreateSendReceiveAsyncContext(socket);