Java Doc for Request.java in  » Database-DBMS » db-derby-10.2 » org » apache » derby » client » net » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » db derby 10.2 » org.apache.derby.client.net 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.derby.client.net.Request

All known Subclasses:   org.apache.derby.client.net.NetConnectionRequest,
Request
public class Request (Code)


Field Summary
protected  byte[]bytes_
    
protected  CcsidManagerccsidManager_
    
protected  NetAgentnetAgent_
    
protected  intoffset_
    
protected  booleanpasswordIncluded_
    
protected  intpasswordLength_
    
protected  intpasswordStart_
    

Constructor Summary
 Request(NetAgent netAgent, int minSize, CcsidManager ccsidManager)
    
 Request(NetAgent netAgent, CcsidManager ccsidManager, int bufferSize)
    

Method Summary
final  voidbuildTripletHeader(int tripletLength, int tripletType, int tripletId)
    
final protected  voidclearBuffer()
    
final protected  voidcreateCommand()
    
final  voidcreateCommandData()
    
final  voidcreateEncryptedCommandData()
    
protected  voidcreateXACommand()
    
final protected  booleandoesRequestContainData()
    
final protected  voidensureLength(int length)
    
final protected  voidfinalizeDssLength()
    
final protected  voidfinalizePreviousChainedDss(boolean dssHasSameCorrelator)
    
protected  voidflush(java.io.OutputStream socketOutputStream)
    
final protected  intflushScalarStreamSegment(int leftToRead, int bytesToRead)
    
final  voidinitialize()
    
final protected  voidmarkForCachingPKGNAMCSN()
    
final protected  voidmarkLengthBytes(int codePoint)
    
final  voidmaskOutPassword()
    
final  voidpadBytes(byte padByte, int length)
    
final protected  voidpadScalarStreamForError(int leftToRead, int bytesToRead)
    
final protected  intpopMarkForCachingPKGNAMCSN()
    
final protected  intprepScalarStream(boolean chained, boolean chainedWithSameCorrelator, boolean writeNullByte, int leftToRead)
    
protected  voidsendBytes(java.io.OutputStream socketOutputStream)
    
final  voidsetCcsidMgr(CcsidManager ccsidManager)
    
public  voidsetCorrelationID(int id)
    
public  voidsetDssLengthLocation(int location)
    
final protected  voidupdateLengthBytes()
    
final  voidwrite1Byte(int value)
    
final  voidwrite2Bytes(int value)
    
final  voidwrite4Bytes(long value)
    
final  voidwriteBigDecimal(java.math.BigDecimal v, int declaredPrecision, int declaredScale)
    
final  voidwriteBoolean(boolean v)
    
final  voidwriteByte(byte v)
    
final  voidwriteBytes(byte[] buf, int length)
    
final  voidwriteBytes(byte[] buf)
    
final  voidwriteCodePoint4Bytes(int codePoint, int value)
    
final  voidwriteDDMString(String s)
    
final  voidwriteDate(java.sql.Date date)
    
protected  voidwriteDouble(double v)
    
final  byte[]writeEXTDTALengthCodePointForEncryption(int length, int codePoint)
    
final  voidwriteEncryptedScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte, int parameterIndex)
    
protected  voidwriteFloat(float v)
    
 voidwriteInt(int v)
    
protected  voidwriteIntFdocaData(int v)
    
final  voidwriteLDBytes(byte[] bytes)
    
final  voidwriteLengthCodePoint(int length, int codePoint)
    
final  voidwriteLidAndLengths(int[][] lidAndLengthOverrides, int count, int offset)
    
final  voidwriteLidAndLengths(int[][] lidAndLengthOverrides, int count, int offset, boolean mddRequired, java.util.Hashtable map)
    
final  voidwriteLong(long v)
    
protected  voidwriteLongFdocaData(long v)
    
final  voidwritePlainScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte, int parameterIndex)
    
final protected  voidwriteScalar1Byte(int codePoint, int value)
    
final  voidwriteScalar2Bytes(int codePoint, int value)
    
final protected  voidwriteScalar4Bytes(int codePoint, long value)
    
final  voidwriteScalar8Bytes(int codePoint, long value)
    
final  voidwriteScalarBytes(int codePoint, byte[] buf, int length)
    
final  voidwriteScalarBytes(int codePoint, byte[] buff)
    
final  voidwriteScalarBytes(int codePoint, byte[] buff, int start, int length)
    
final  voidwriteScalarHeader(int codePoint, int dataLength)
    
final  voidwriteScalarPaddedBytes(int codePoint, byte[] buff, int paddedLength, byte padByte)
    
final  voidwriteScalarPaddedBytes(byte[] buff, int paddedLength, byte padByte)
    
final  voidwriteScalarPaddedString(int codePoint, String string, int paddedLength)
    
final  voidwriteScalarPaddedString(String string, int paddedLength)
    
final  voidwriteScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte, int parameterIndex)
    
final  voidwriteScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.Reader r, boolean writeNullByte, int parameterIndex)
    
final  voidwriteScalarString(int codePoint, String string)
    
final  voidwriteShort(short v)
    
protected  voidwriteShortFdocaData(short v)
    
final  voidwriteSingleorMixedCcsidLDString(String s, String encoding)
    
final  voidwriteTime(java.sql.Time time)
    
final  voidwriteTimestamp(java.sql.Timestamp timestamp)
    

Field Detail
bytes_
protected byte[] bytes_(Code)



ccsidManager_
protected CcsidManager ccsidManager_(Code)



netAgent_
protected NetAgent netAgent_(Code)



offset_
protected int offset_(Code)



passwordIncluded_
protected boolean passwordIncluded_(Code)



passwordLength_
protected int passwordLength_(Code)



passwordStart_
protected int passwordStart_(Code)




Constructor Detail
Request
Request(NetAgent netAgent, int minSize, CcsidManager ccsidManager)(Code)



Request
Request(NetAgent netAgent, CcsidManager ccsidManager, int bufferSize)(Code)




Method Detail
buildTripletHeader
final void buildTripletHeader(int tripletLength, int tripletType, int tripletId)(Code)



clearBuffer
final protected void clearBuffer()(Code)



createCommand
final protected void createCommand()(Code)



createCommandData
final void createCommandData()(Code)



createEncryptedCommandData
final void createEncryptedCommandData()(Code)



createXACommand
protected void createXACommand()(Code)



doesRequestContainData
final protected boolean doesRequestContainData()(Code)



ensureLength
final protected void ensureLength(int length)(Code)



finalizeDssLength
final protected void finalizeDssLength()(Code)



finalizePreviousChainedDss
final protected void finalizePreviousChainedDss(boolean dssHasSameCorrelator)(Code)



flush
protected void flush(java.io.OutputStream socketOutputStream) throws java.io.IOException(Code)



flushScalarStreamSegment
final protected int flushScalarStreamSegment(int leftToRead, int bytesToRead) throws DisconnectException(Code)



initialize
final void initialize()(Code)



markForCachingPKGNAMCSN
final protected void markForCachingPKGNAMCSN()(Code)



markLengthBytes
final protected void markLengthBytes(int codePoint)(Code)



maskOutPassword
final void maskOutPassword()(Code)



padBytes
final void padBytes(byte padByte, int length)(Code)



padScalarStreamForError
final protected void padScalarStreamForError(int leftToRead, int bytesToRead) throws DisconnectException(Code)



popMarkForCachingPKGNAMCSN
final protected int popMarkForCachingPKGNAMCSN()(Code)



prepScalarStream
final protected int prepScalarStream(boolean chained, boolean chainedWithSameCorrelator, boolean writeNullByte, int leftToRead) throws DisconnectException(Code)



sendBytes
protected void sendBytes(java.io.OutputStream socketOutputStream) throws java.io.IOException(Code)



setCcsidMgr
final void setCcsidMgr(CcsidManager ccsidManager)(Code)



setCorrelationID
public void setCorrelationID(int id)(Code)



setDssLengthLocation
public void setDssLengthLocation(int location)(Code)



updateLengthBytes
final protected void updateLengthBytes() throws SqlException(Code)



write1Byte
final void write1Byte(int value)(Code)



write2Bytes
final void write2Bytes(int value)(Code)



write4Bytes
final void write4Bytes(long value)(Code)



writeBigDecimal
final void writeBigDecimal(java.math.BigDecimal v, int declaredPrecision, int declaredScale) throws SqlException(Code)



writeBoolean
final void writeBoolean(boolean v)(Code)



writeByte
final void writeByte(byte v)(Code)



writeBytes
final void writeBytes(byte[] buf, int length)(Code)



writeBytes
final void writeBytes(byte[] buf)(Code)



writeCodePoint4Bytes
final void writeCodePoint4Bytes(int codePoint, int value)(Code)



writeDDMString
final void writeDDMString(String s) throws SqlException(Code)



writeDate
final void writeDate(java.sql.Date date) throws SqlException(Code)



writeDouble
protected void writeDouble(double v)(Code)



writeEXTDTALengthCodePointForEncryption
final byte[] writeEXTDTALengthCodePointForEncryption(int length, int codePoint)(Code)



writeEncryptedScalarStream
final void writeEncryptedScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte, int parameterIndex) throws DisconnectException, SqlException(Code)



writeFloat
protected void writeFloat(float v)(Code)



writeInt
void writeInt(int v)(Code)



writeIntFdocaData
protected void writeIntFdocaData(int v)(Code)



writeLDBytes
final void writeLDBytes(byte[] bytes)(Code)



writeLengthCodePoint
final void writeLengthCodePoint(int length, int codePoint)(Code)



writeLidAndLengths
final void writeLidAndLengths(int[][] lidAndLengthOverrides, int count, int offset)(Code)



writeLidAndLengths
final void writeLidAndLengths(int[][] lidAndLengthOverrides, int count, int offset, boolean mddRequired, java.util.Hashtable map)(Code)



writeLong
final void writeLong(long v)(Code)



writeLongFdocaData
protected void writeLongFdocaData(long v)(Code)



writePlainScalarStream
final void writePlainScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte, int parameterIndex) throws DisconnectException, SqlException(Code)



writeScalar1Byte
final protected void writeScalar1Byte(int codePoint, int value)(Code)



writeScalar2Bytes
final void writeScalar2Bytes(int codePoint, int value)(Code)



writeScalar4Bytes
final protected void writeScalar4Bytes(int codePoint, long value)(Code)



writeScalar8Bytes
final void writeScalar8Bytes(int codePoint, long value)(Code)



writeScalarBytes
final void writeScalarBytes(int codePoint, byte[] buf, int length)(Code)



writeScalarBytes
final void writeScalarBytes(int codePoint, byte[] buff)(Code)



writeScalarBytes
final void writeScalarBytes(int codePoint, byte[] buff, int start, int length)(Code)



writeScalarHeader
final void writeScalarHeader(int codePoint, int dataLength)(Code)



writeScalarPaddedBytes
final void writeScalarPaddedBytes(int codePoint, byte[] buff, int paddedLength, byte padByte)(Code)



writeScalarPaddedBytes
final void writeScalarPaddedBytes(byte[] buff, int paddedLength, byte padByte)(Code)



writeScalarPaddedString
final void writeScalarPaddedString(int codePoint, String string, int paddedLength) throws SqlException(Code)



writeScalarPaddedString
final void writeScalarPaddedString(String string, int paddedLength) throws SqlException(Code)



writeScalarStream
final void writeScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte, int parameterIndex) throws DisconnectException, SqlException(Code)



writeScalarStream
final void writeScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.Reader r, boolean writeNullByte, int parameterIndex) throws DisconnectException, SqlException(Code)



writeScalarString
final void writeScalarString(int codePoint, String string) throws SqlException(Code)



writeShort
final void writeShort(short v)(Code)



writeShortFdocaData
protected void writeShortFdocaData(short v)(Code)



writeSingleorMixedCcsidLDString
final void writeSingleorMixedCcsidLDString(String s, String encoding) throws SqlException(Code)



writeTime
final void writeTime(java.sql.Time time) throws SqlException(Code)



writeTimestamp
final void writeTimestamp(java.sql.Timestamp timestamp) throws SqlException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.