类的使用
cool.scx.socket.ScxSocketFrame
-
cool.scx.socket中ScxSocketFrame的使用
声明为ScxSocketFrame的cool.scx.socket中的字段修饰符和类型字段说明static final ScxSocketFrameFrameCreator.PING_FRAMEstatic final ScxSocketFrameFrameCreator.PONG_FRAME修饰符和类型方法说明static ScxSocketFrameFrameCreator.createAckFrame(long ack_id) static ScxSocketFrameFrameCreator.createAckFrame(long ack_id, String payload) FrameCreator.createEventFrame(String eventName, String payload, SendOptions options) FrameCreator.createMessageFrame(String content, SendOptions options) FrameCreator.createRequestFrame(String eventName, String payload, SendOptions options) FrameCreator.createResponseFrame(long ack_id, String payload, SendOptions options) static ScxSocketFrameSendTask.socketFrame()参数类型为ScxSocketFrame的cool.scx.socket中的方法修饰符和类型方法说明protected final voidScxSocket.callOnEventWithCheckDuplicateAsync(ScxSocketFrame socketFrame) protected final voidScxSocket.callOnMessageWithCheckDuplicateAsync(ScxSocketFrame socketFrame) protected voidScxSocket.callResponseCallback(ScxSocketFrame socketFrame) protected voidScxSocket.callResponseCallbackAsync(ScxSocketFrame socketFrame) booleanDuplicateFrameChecker.checkDuplicate(ScxSocketFrame socketFrame) 用来判断是否为重发的消息protected voidScxSocket.doAck(ScxSocketFrame ackFrame) protected voidScxSocket.doMessage(ScxSocketFrame socketFrame) protected voidScxSocket.doResponse(ScxSocketFrame socketFrame) protected voidPingPongManager.doSocketFrame(ScxSocketFrame socketFrame) protected voidScxSocket.doSocketFrame(ScxSocketFrame socketFrame) protected voidScxSocket.send(ScxSocketFrame socketFrame, SendOptions options) protected final voidScxSocket.setResponseCallback(ScxSocketFrame socketFrame, Consumer<String> responseCallback) 参数类型为ScxSocketFrame的cool.scx.socket中的构造器