类的使用
cool.scx.socket.SendOptions
-
cool.scx.socket中SendOptions的使用
返回SendOptions的cool.scx.socket中的方法修饰符和类型方法说明SendOptions.setGiveUpIfReachMaxResendTimes(boolean giveUpIfReachMaxResendTimes) SendOptions.setMaxResendDelayed(long maxDelayed) SendOptions.setMaxResendTimes(int maxResendTimes) SendOptions.setNeedAck(boolean needAck) 参数类型为SendOptions的cool.scx.socket中的方法修饰符和类型方法说明final voidEasyUseSocket.send(Object data, SendOptions options) final voidEasyUseSocket.send(String content, SendOptions options) final voidScxSocket.send(ScxSocketFrame socketFrame, SendOptions options) final voidEasyUseSocket.sendEvent(String eventName, Object data, SendOptions options) final voidEasyUseSocket.sendEvent(String eventName, String data, SendOptions options)