File tree Expand file tree Collapse file tree 5 files changed +58
-0
lines changed Expand file tree Collapse file tree 5 files changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ lib_managed /
2
+ project /boot /
3
+ project /build /target /
4
+ project /plugins /project /build.properties
5
+ src_managed /
6
+ target /
Original file line number Diff line number Diff line change
1
+ Hs2client is a mysql Handler Socket Scala Client
2
+
3
+ If you have no idea about the Handler Socket Plugin of Mysql Database, google it :O)
4
+
5
+ With Hs2client, I want to make anything possible be transparent to the users, some features may be:
6
+ <1> automatically generate index id, but can be customized if necessary;
7
+ <2> return all of the columns by default , but can be filtered if necessary;
8
+ <3> Event driven style API and synchronous API will both be supported;
9
+ <4> customized connection pooling;
10
+ <5> easy to use and configure.
11
+ <6> others...
Original file line number Diff line number Diff line change
1
+ # Project properties
2
+ # Mon Nov 29 16:41:12 CST 2010
3
+ project.organization =darren studio works
4
+ project.name =hs2c(Handler Socket Scala Client)
5
+ sbt.version =0.7.4
6
+ project.version =1.0
7
+ build.scala.versions =2.8.0
8
+ project.initialize =false
Original file line number Diff line number Diff line change
1
+ import sbt ._
2
+
3
+ class HelloWorldProject (info : ProjectInfo ) extends DefaultProject (info)
4
+ {
5
+ /* use local maven repository with auto dependency management*/
6
+ val mavenLocalRepo = " Local Maven Repository" at " file://" + Path .userHome + " /.m2/repository"
7
+ val sonatypeNexusSnapshots = " Sonatype Nexus Snapshots" at " https://oss.sonatype.org/content/repositories/snapshots"
8
+ val sonatypeNexusReleases = " Sonatype Nexus Releases" at " https://oss.sonatype.org/content/repositories/releases"
9
+ val jbossRepository = " Jboss Repository" at " http://repository.jboss.org/nexus/content/groups/public"
10
+ val jbossRepository2 = " jboss Maven2 repo" at " http://repository.jboss.com/maven2"
11
+ val scalatools = " scala tools release" at " http://scala-tools.org/repo-releases"
12
+ val nexusScalaToolsRepo = " Nexus Scala tools Repo" at " http://nexus.scala-tools.org/content/repositories/releases/"
13
+ val fuseSourceRepo = " HawtDispatch Repo" at " http://repo.fusesource.com/nexus/content/repositories/public"
14
+
15
+ val netty = " org.jboss.netty" % " netty" % " 3.2.2.Final"
16
+ val slf4jApi = " org.slf4j" % " slf4j-api" % " 1.6.1"
17
+ val logback = " ch.qos.logback" % " logback-core" % " 0.9.21"
18
+ val logbackClassic = " ch.qos.logback" % " logback-classic" % " 0.9.21"
19
+
20
+ }
Original file line number Diff line number Diff line change
1
+ package hs2client {
2
+ /*
3
+ * command + executor
4
+ * command can be executed synchronously or asynchronously, a connection pool will be managed to throttle the communication resources.
5
+ * <1> automatically generate index id, but can be customized if necessary;
6
+ * <2> return all of the columns by default , but can be filtered if necessary;
7
+ * <3> asynchronous api by default?!
8
+ * <4>
9
+ */
10
+ trait Hs2client {
11
+
12
+ }
13
+ }
You can’t perform that action at this time.
0 commit comments