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