2022-10-04 12:43:24 +02:00
|
|
|
package it.tdlight.reactiveapi;
|
|
|
|
|
|
|
|
import it.tdlight.reactiveapi.Event.OnRequest;
|
|
|
|
|
|
|
|
public class ChannelProducerTdlibRequest {
|
|
|
|
|
|
|
|
private ChannelProducerTdlibRequest() {
|
|
|
|
}
|
|
|
|
|
2022-10-06 00:36:00 +02:00
|
|
|
public static EventProducer<OnRequest<?>> create(ChannelFactory channelFactory) {
|
|
|
|
return channelFactory.newProducer(ChannelCodec.TDLIB_REQUEST, Channel.TDLIB_REQUEST.getChannelName());
|
2022-10-04 12:43:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|