e2b505f
Branches > facts > e2b505f > files / src / net / bowmap / transport
Update connection docstrings
Commit: e2b505f1338c1ee1b07ecaccb870923222652dd6
Parent: cc5984f
1 changed file:
src/net/bowmap/transport/connection.clj view file
@@ -1,4 +1,5 @@ (ns net.bowmap.transport.connection+ "A connection to the Minecraft server." (:require [clojure.core.async :refer [<!! >!! chan io-thread close!]] [net.bowmap.transport.streams :as streams])@@ -6,11 +7,10 @@ [java.io EOFException] [java.net Socket SocketException])) -; Connection can be sent and received frames?-; It is the I/O part of the client-; Clients are then I/O free--(defn connection [socket]+(defn connection+ "Creates a connection from a java.net.Socket+ Connections can be sent and can receive frames via channels."+ [socket] (let [serverbound-frames (chan 64) clientbound-frames (chan 64) input-stream (Socket/.getInputStream socket)