Searched defs:stream (Results 26 - 50 of 339) sorted by relevance

1234567891011>>

/forgerock/opendj2-jel-hg/src/server/org/opends/server/protocols/ldap/
H A DLDAPControl.java120 public void writeValue(ASN1Writer stream) throws IOException argument
124 stream.writeOctetString(value);
H A DProtocolOp.java59 * Writes this protocol op to an ASN.1 output stream.
61 * @param stream The ASN.1 output stream to write to.
62 * @throws IOException If a problem occurs while writing to the stream.
64 public abstract void write(ASN1Writer stream) throws IOException; argument
H A DUnbindRequestProtocolOp.java86 * Writes this protocol op to an ASN.1 output stream.
88 * @param stream The ASN.1 output stream to write to.
89 * @throws IOException If a problem occurs while writing to the stream.
91 public void write(ASN1Writer stream) throws IOException argument
93 stream.writeNull(OP_TYPE_UNBIND_REQUEST);
/forgerock/opendj2-hg/src/server/org/opends/server/loggers/
H A DTextWriter.java32 * A TextWriter provides a character-based stream used by a
38 * Writes a text record to the output stream.
45 * Flushes any buffered contents of the output stream.
66 private MeteredStream stream = new MeteredStream(System.out, 0); field in class:TextWriter.STDOUT
67 private PrintWriter writer = new PrintWriter(stream, true);
90 // Should never close the system out stream.
98 return stream.written;
107 private MeteredStream stream = new MeteredStream(System.err, 0); field in class:TextWriter.STDERR
108 private PrintWriter writer = new PrintWriter(stream, true);
131 // Should never close the system error stream
148 private MeteredStream stream; field in class:TextWriter.STREAM
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/protocols/ldap/
H A DAbandonRequestProtocolOp.java106 * Writes this protocol op to an ASN.1 output stream.
108 * @param stream The ASN.1 output stream to write to.
109 * @throws IOException If a problem occurs while writing to the stream.
111 public void write(ASN1Writer stream) throws IOException argument
113 stream.writeInteger(OP_TYPE_ABANDON_REQUEST, idToAbandon);
H A DDeleteRequestProtocolOp.java81 * Writes this protocol op to an ASN.1 output stream.
83 * @param stream The ASN.1 output stream to write to.
84 * @throws IOException If a problem occurs while writing to the stream.
86 public void write(ASN1Writer stream) throws IOException argument
88 stream.writeOctetString(OP_TYPE_DELETE_REQUEST, dn);
H A DLDAPControl.java119 public void writeValue(ASN1Writer stream) throws IOException argument
123 stream.writeOctetString(value);
H A DProtocolOp.java58 * Writes this protocol op to an ASN.1 output stream.
60 * @param stream The ASN.1 output stream to write to.
61 * @throws IOException If a problem occurs while writing to the stream.
63 public abstract void write(ASN1Writer stream) throws IOException; argument
H A DUnbindRequestProtocolOp.java85 * Writes this protocol op to an ASN.1 output stream.
87 * @param stream The ASN.1 output stream to write to.
88 * @throws IOException If a problem occurs while writing to the stream.
90 public void write(ASN1Writer stream) throws IOException argument
92 stream.writeNull(OP_TYPE_UNBIND_REQUEST);
/forgerock/openam-v13/openam-ldap-utils/src/main/java/org/forgerock/openam/ldap/
H A DLdifUtils.java84 * @param stream Data input stream containing LDIF entries.
88 public static void createSchemaFromLDIF(InputStream stream, Connection ld) throws IOException { argument
89 createSchemaFromLDIF(new LDIFChangeRecordReader(new BufferedInputStream(stream)), ld);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/loggers/
H A DTextWriter.java33 * A TextWriter provides a character-based stream used by a
39 * Writes a text record to the output stream.
46 * Flushes any buffered contents of the output stream.
67 private MeteredStream stream = new MeteredStream(System.out, 0); field in class:TextWriter.STDOUT
68 private PrintWriter writer = new PrintWriter(stream, true);
85 // Should never close the system out stream.
91 return stream.written;
100 private MeteredStream stream = new MeteredStream(System.err, 0); field in class:TextWriter.STDERR
101 private PrintWriter writer = new PrintWriter(stream, true);
118 // Should never close the system error stream
133 private MeteredStream stream; field in class:TextWriter.STREAM
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/protocols/ldap/
H A DAbandonRequestProtocolOp.java103 * Writes this protocol op to an ASN.1 output stream.
105 * @param stream The ASN.1 output stream to write to.
106 * @throws IOException If a problem occurs while writing to the stream.
108 public void write(ASN1Writer stream) throws IOException argument
110 stream.writeInteger(OP_TYPE_ABANDON_REQUEST, idToAbandon);
H A DDeleteRequestProtocolOp.java78 * Writes this protocol op to an ASN.1 output stream.
80 * @param stream The ASN.1 output stream to write to.
81 * @throws IOException If a problem occurs while writing to the stream.
83 public void write(ASN1Writer stream) throws IOException argument
85 stream.writeOctetString(OP_TYPE_DELETE_REQUEST, dn);
H A DLDAPControl.java118 public void writeValue(ASN1Writer stream) throws IOException argument
122 stream.writeOctetString(value);
H A DProtocolOp.java59 * Writes this protocol op to an ASN.1 output stream.
61 * @param stream The ASN.1 output stream to write to.
62 * @throws IOException If a problem occurs while writing to the stream.
64 public abstract void write(ASN1Writer stream) throws IOException; argument
H A DUnbindRequestProtocolOp.java82 * Writes this protocol op to an ASN.1 output stream.
84 * @param stream The ASN.1 output stream to write to.
85 * @throws IOException If a problem occurs while writing to the stream.
87 public void write(ASN1Writer stream) throws IOException argument
89 stream.writeNull(OP_TYPE_UNBIND_REQUEST);
/forgerock/openam/openam-ldap-utils/src/main/java/org/forgerock/openam/ldap/
H A DLdifUtils.java84 * @param stream Data input stream containing LDIF entries.
88 public static void createSchemaFromLDIF(InputStream stream, Connection ld) throws IOException { argument
89 createSchemaFromLDIF(new LDIFChangeRecordReader(new BufferedInputStream(stream)), ld);
/forgerock/opendj-b2.6/src/server/org/opends/server/protocols/asn1/
H A DASN1.java157 * Gets an ASN.1 reader whose source is the provided input stream
160 * @param stream
161 * The input stream to use.
164 public static ASN1Reader getReader(InputStream stream) argument
166 return getReader(stream, 0);
172 * Gets an ASN.1 reader whose source is the provided input stream
175 * @param stream
176 * The input stream to use.
182 public static ASN1Reader getReader(InputStream stream, int maxElementSize) argument
184 return new ASN1InputStreamReader(stream, maxElementSiz
275 getWriter(OutputStream stream) argument
294 getWriter(OutputStream stream, int maxInternalBufferSize) argument
[all...]
H A DByteSequenceOutputStream.java46 * Creates a new byte string builder output stream.
96 * provided output stream.
98 * @param stream
99 * The output stream.
102 * IOException} is thrown if the output stream is closed.
104 void writeTo(OutputStream stream) throws IOException argument
106 buffer.copyTo(stream);
110 * Resets this output stream such that the underlying byte string builder is
/forgerock/opendj-b2.6/src/server/org/opends/server/protocols/ldap/
H A DAddRequestProtocolOp.java152 * Writes this protocol op to an ASN.1 output stream.
154 * @param stream The ASN.1 output stream to write to.
155 * @throws IOException If a problem occurs while writing to the stream.
158 public void write(ASN1Writer stream) throws IOException argument
160 stream.writeStartSequence(OP_TYPE_ADD_REQUEST);
161 stream.writeOctetString(dn);
164 stream.writeStartSequence();
167 attr.write(stream);
169 stream
[all...]
H A DCompareRequestProtocolOp.java141 * Writes this protocol op to an ASN.1 output stream.
143 * @param stream The ASN.1 output stream to write to.
144 * @throws IOException If a problem occurs while writing to the stream.
146 public void write(ASN1Writer stream) throws IOException argument
148 stream.writeStartSequence(OP_TYPE_COMPARE_REQUEST);
149 stream.writeOctetString(dn);
151 stream.writeStartSequence();
152 stream.writeOctetString(attributeType);
153 stream
[all...]
H A DExtendedRequestProtocolOp.java138 * Writes this protocol op to an ASN.1 output stream.
140 * @param stream The ASN.1 output stream to write to.
141 * @throws IOException If a problem occurs while writing to the stream.
143 public void write(ASN1Writer stream) throws IOException argument
145 stream.writeStartSequence(OP_TYPE_EXTENDED_REQUEST);
146 stream.writeOctetString(TYPE_EXTENDED_REQUEST_OID, oid);
150 stream.writeOctetString(TYPE_EXTENDED_REQUEST_VALUE, value);
153 stream.writeEndSequence();
H A DIntermediateResponseProtocolOp.java139 * Writes this protocol op to an ASN.1 output stream.
141 * @param stream The ASN.1 output stream to write to.
142 * @throws IOException If a problem occurs while writing to the stream.
144 public void write(ASN1Writer stream) throws IOException argument
146 stream.writeStartSequence(OP_TYPE_INTERMEDIATE_RESPONSE);
150 stream.writeOctetString(TYPE_INTERMEDIATE_RESPONSE_OID, oid);
155 stream.writeOctetString(TYPE_INTERMEDIATE_RESPONSE_VALUE, value);
158 stream.writeEndSequence();
H A DModifyRequestProtocolOp.java153 * Writes this protocol op to an ASN.1 output stream.
155 * @param stream The ASN.1 output stream to write to.
156 * @throws IOException If a problem occurs while writing to the stream.
159 public void write(ASN1Writer stream) throws IOException argument
161 stream.writeStartSequence(OP_TYPE_MODIFY_REQUEST);
162 stream.writeOctetString(dn);
164 stream.writeStartSequence();
167 mod.write(stream);
169 stream
[all...]
H A DSearchResultReferenceProtocolOp.java138 * Writes this protocol op to an ASN.1 output stream.
140 * @param stream The ASN.1 output stream to write to.
141 * @throws IOException If a problem occurs while writing to the stream.
143 public void write(ASN1Writer stream) throws IOException argument
145 stream.writeStartSequence(OP_TYPE_SEARCH_RESULT_REFERENCE);
148 stream.writeOctetString(url);
150 stream.writeEndSequence();

Completed in 104 milliseconds

1234567891011>>