File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
src/main/java/com/github/pgasync/impl Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 20
20
21
21
import com .github .pgasync .impl .message .Startup ;
22
22
23
- public class StartupEncoder implements Encoder <Startup > {
23
+ /**
24
+ * See <a href="www.postgresql.org/docs/9.3/static/protocol-message-formats.html">PostgreSQL message formats</a>
25
+ *
26
+ * <pre>
27
+ *</pre>
28
+ *
29
+ * @author Antti Laisi
30
+ */
31
+ public class StartupMessageEncoder implements Encoder <Startup > {
24
32
25
33
@ Override
26
34
public Class <Startup > getMessageType () {
Original file line number Diff line number Diff line change 14
14
15
15
package com .github .pgasync .impl .message ;
16
16
17
- public class Startup implements Message {
17
+ /**
18
+ * @author Antti Laisi
19
+ */
20
+ public class StartupMessage implements Message {
18
21
19
22
final int protocol = 196608 ;
20
23
final String username ;
21
24
final String database ;
22
25
23
- public Startup (String username , String database ) {
26
+ public StartupMessage (String username , String database ) {
24
27
this .username = username ;
25
28
this .database = database ;
26
29
}
You can’t perform that action at this time.
0 commit comments