jxDBCon 0.9z

org.sourceforge.jxdbcon.postgresql
Class NetProtocolV0

java.lang.Object
  |
  +--org.sourceforge.jxdbcon.postgresql.NetProtocol
        |
        +--org.sourceforge.jxdbcon.postgresql.NetProtocolV0
All Implemented Interfaces:
InfoKeys, PGConstants, PGInfoKeys, PGProtocol

public abstract class NetProtocolV0
extends NetProtocol

The NetProtocolV0 is the protocol implementation for V0. This is a NOOP, most probably it will never get implemented. The V0 protocol is spoken by ancient versions of PostgreSQL.

Version:
$Revision: 1.6 $
Author:
Keve Müller

Field Summary
private static int ACK_MSG
           
private static int DUPLICATE_MSG
           
private static int ERROR_MSG
           
private static int FUNCTION_MSG
           
private static int INVALID_MSG
           
private static int NET_ERROR
           
private static int PRINT_MSG
           
private static int QUERY_MSG
           
private static int RESET_MSG
           
private static int STARTUP_HBA_MSG
           
private static int STARTUP_KRB4_MSG
           
private static int STARTUP_KRB5_MSG
           
private static int STARTUP_MSG
           
private static int STARTUP_PASSWORD_MSG
           
private static int STARTUP_UNAUTH_MSG
           
 
Fields inherited from class org.sourceforge.jxdbcon.postgresql.NetProtocol
copyInStream, copyOutStream, in, lock, messageEncoding, out, socket
 
Fields inherited from interface org.sourceforge.jxdbcon.postgresql.PGConstants
AUTH_REQ_CRYPT, AUTH_REQ_KRB4, AUTH_REQ_KRB5, AUTH_REQ_MD5, AUTH_REQ_OK, AUTH_REQ_PASSWORD, AUTH_REQ_SCM, NUMERIC_DSCALE_MASK, NUMERIC_NAN, NUMERIC_NEG, NUMERIC_POS, NUMERIC_SIGN_MASK, PG_VERSION_STR, PG_VERSION_STR1, TRIGGER_TYPE_BEFORE, TRIGGER_TYPE_DELETE, TRIGGER_TYPE_INSERT, TRIGGER_TYPE_ROW, TRIGGER_TYPE_UPDATE
 
Fields inherited from interface org.sourceforge.jxdbcon.postgresql.PGInfoKeys
FORCECLIENTENC, OPTIONS, PROTOVERSION, SETTIMEZONE, STRICTSCHEMA, TTY, USEASYNC, USECLIENTENC, USEDBENC, USESSL
 
Fields inherited from interface org.sourceforge.jxdbcon.InfoKeys
CATALOG, DESCRIPTION, DRIVER, HOST, PASSWORD, PORT, SUBDRIVER, USER
 
Constructor Summary
NetProtocolV0()
           
 
Method Summary
(package private)  void sendStartup(String catalog, String user, String pgoptions, String pgtty)
           
 
Methods inherited from class org.sourceforge.jxdbcon.postgresql.NetProtocol
connectSocket, limString, readCString, setCopyInStream, setCopyOutStream, setMessageEncoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sourceforge.jxdbcon.postgresql.PGProtocol
close, connect, exec, requestCancel
 

Field Detail

ACK_MSG

private static final int ACK_MSG
See Also:
Constant Field Values

DUPLICATE_MSG

private static final int DUPLICATE_MSG
See Also:
Constant Field Values

ERROR_MSG

private static final int ERROR_MSG
See Also:
Constant Field Values

FUNCTION_MSG

private static final int FUNCTION_MSG
See Also:
Constant Field Values

INVALID_MSG

private static final int INVALID_MSG
See Also:
Constant Field Values

NET_ERROR

private static final int NET_ERROR
See Also:
Constant Field Values

PRINT_MSG

private static final int PRINT_MSG
See Also:
Constant Field Values

QUERY_MSG

private static final int QUERY_MSG
See Also:
Constant Field Values

RESET_MSG

private static final int RESET_MSG
See Also:
Constant Field Values

STARTUP_HBA_MSG

private static final int STARTUP_HBA_MSG
See Also:
Constant Field Values

STARTUP_KRB4_MSG

private static final int STARTUP_KRB4_MSG
See Also:
Constant Field Values

STARTUP_KRB5_MSG

private static final int STARTUP_KRB5_MSG
See Also:
Constant Field Values

STARTUP_MSG

private static final int STARTUP_MSG
See Also:
Constant Field Values

STARTUP_PASSWORD_MSG

private static final int STARTUP_PASSWORD_MSG
See Also:
Constant Field Values

STARTUP_UNAUTH_MSG

private static final int STARTUP_UNAUTH_MSG
See Also:
Constant Field Values
Constructor Detail

NetProtocolV0

public NetProtocolV0()
Method Detail

sendStartup

void sendStartup(String catalog,
                 String user,
                 String pgoptions,
                 String pgtty)
           throws IOException
IOException

jxDBCon 0.9z

Copyright © 2001,2002 Keve Müller; see LICENSE file for details.