This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package cfclient | |
| import java.io.BufferedReader | |
| import java.io.InputStreamReader | |
| import java.io.BufferedWriter | |
| import java.io.OutputStreamWriter | |
| import java.nio.charset.StandardCharsets | |
| import cfclient.RichBufferedReader |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| object Ping extends Message with MessageUnapply { | |
| val unapply: PartialFunction[String, Ping.type] = (input: String) => { | |
| case gr"""PING""" => Ping | |
| } | |
| } | |
| Message.scala:37: missing parameter type for expanded function | |
| The argument types of an anonymous function must be fully known. (SLS 8.5) | |
| Expected type was: cfclient.Ping.type |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val allMessageParser: PartialFunction[String, Message] = Join.unapply andThen Welcome.unapply andThen Ping.unapply andThen Pong.unapply andThen Disconnect.unapply | |
| //// | |
| Message.scala:58: type mismatch; | |
| found : PartialFunction[String,cfclient.Welcome] | |
| required: cfclient.Join => ? | |
| val allMessageParser: PartialFunction[String, Message] = Join.unapply andThen Welcome.unapply andThen Ping.unapply andThen Pong.unapply andThen Disconnect.unapply | |
| ^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val allMessageParser2: PartialFunction[String, Message] = List(Join.unapply, Welcome.unapply, Ping.unapply, Pong.unapply, Disconnect.unapply).reduce(_ orElse _) | |
| val allMessageParser: PartialFunction[String, Message] = Join.unapply orElse Welcome.unapply orElse Ping.unapply orElse Pong.unapply orElse Disconnect.unapply |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val alphaDigits = """[A-Za-z0-9-_]*""" | |
| val digits = """\d+""" | |
| case gr"""WELCOME ${Int(version)}($digits) $serverName($alphaDigit) $commonExtensions(.*)""" => | |
| new Welcome(serverName, version, commonExtensions) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1/31/2014 2:09:22 AM - starting server | |
| 1/31/2014 2:09:22 AM - server is running on port: 50123 | |
| 1/31/2014 2:09:24 AM - CFCS an client verschickt | |
| 1/31/2014 2:09:24 AM - received: JOIN CFCS 1 "MyName1" | |
| 1/31/2014 2:09:24 AM - decoding: JOIN CFCS 1 "MyName1" | |
| 1/31/2014 2:09:24 AM - decoded Join msg | |
| 1/31/2014 2:09:24 AM - MyName1 has succesfully joined with version 1 to this server. hist extensions are: | |
| 1/31/2014 2:09:24 AM - respond to: MyName1 with Ok Welcome | |
| 1/31/2014 2:09:24 AM - send LobbyUpdate for every client in lobby to: MyName1 | |
| 1/31/2014 2:09:24 AM - send lobbyUpdate to MyName1 for player MyName1 in lobby |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| quick.reflect: | |
| [mkdir] Created dir: /home/soc/Entwicklung/scala/build/quick/classes/reflect | |
| [quick.reflect] Compiling 156 files to /home/soc/Entwicklung/scala/build/quick/classes/reflect | |
| [quick.reflect] error: scala.reflect.internal.FatalError: object Predef does not have a member classOf | |
| [quick.reflect] at scala.reflect.internal.Definitions$DefinitionsClass.scala$reflect$internal$Definitions$DefinitionsClass$$fatalMissingSymbol(Definitions.scala:1151) | |
| [quick.reflect] at scala.reflect.internal.Definitions$DefinitionsClass$$anonfun$getMember$1.apply(Definitions.scala:1174) | |
| [quick.reflect] at scala.reflect.internal.Definitions$DefinitionsClass$$anonfun$getMember$1.apply(Definitions.scala:1169) | |
| [quick.reflect] at scala.reflect.internal.Symbols$Symbol.orElse(Symbols.scala:2368) | |
| [quick.reflect] at scala.reflect.internal.Definitions$DefinitionsClass.getMember(Definitions.scala:1168) | |
| [quick.reflect] at scala.reflect.internal.Definitions$DefinitionsClass.getMemberMethod(Definitions.scala:1203) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package event | |
| import java.util.concurrent.ExecutionException | |
| import java.util.concurrent.ExecutorService | |
| import java.util.concurrent.Executors | |
| import java.util.concurrent.Callable | |
| import scala.util.Success | |
| import scala.util.Failure |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| inserting new method getClass: ()Ljava/lang/Class; into java/lang/Object | |
| inserting new method hashCode: ()I into java/lang/Object | |
| inserting new method equals: (Ljava/lang/Object;)Z into java/lang/Object | |
| inserting new method clone: ()Ljava/lang/Object; into java/lang/Object | |
| inserting new method toString: ()Ljava/lang/String; into java/lang/Object | |
| inserting new method notify: ()V into java/lang/Object | |
| inserting new method notifyAll: ()V into java/lang/Object | |
| inserting new method wait: (J)V into java/lang/Object | |
| inserting new method wait: (JI)V into java/lang/Object | |
| inserting new method wait: ()V into java/lang/Object |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % wireshark | |
| ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear | |
| ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe | |
| ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side | |
| bt_audio_service_open: connect() failed: Connection refused (111) | |
| bt_audio_service_open: connect() failed: Connection refused (111) | |
| bt_audio_service_open: connect() failed: Connection refused (111) | |
| bt_audio_service_open: connect() failed: Connection refused (111) | |
| ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream | |
| Cannot connect to server socket err = No such file or directory |
OlderNewer