jvmMain.ro.dragossusi.sevens.socket.JavaCommandProcessor.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of socket-jvm Show documentation
Show all versions of socket-jvm Show documentation
Socket classes used in sevens
package ro.dragossusi.sevens.socket
import kotlinx.serialization.json.Json
import ro.dragossusi.sevens.socket.command.ClientFrameKey
import ro.dragossusi.sevens.socket.command.ServerFrameKey
import ro.dragossusi.sevens.socket.processor.JsonCommandProcessor
/**
* sevens-client
*
* Copyright (C) 2020 Rachieru Dragos-Mihai
*
* sevens-client is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* sevens-client is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with sevens-client. If not, see [License](http://www.gnu.org/licenses/) .
*
*/
class JavaCommandProcessor(
json: Json
) : JsonCommandProcessor(
json,
SocketCommandLogger,
ClientFrameKey.values(),
ServerFrameKey.values()
)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy