-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #132 from shoshanatech/wrapped-stream-raw-stream
Add #rawStream, analogous to #wrappedStream but accessing the innermost wrapped stream
- Loading branch information
Showing
16 changed files
with
93 additions
and
8 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
repository/Zinc-Character-Encoding-Core.package/SocketStream.extension/instance/rawStream.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*Zinc-Character-Encoding-Core | ||
rawStream | ||
"Answer the innermost stream wrapped by the receiver, e.g. a raw binary file stream, | ||
socket stream, or regular Read/WriteStream. | ||
Since this the base stream, answer ourself." | ||
|
||
^ self |
6 changes: 6 additions & 0 deletions
6
...ory/Zinc-Character-Encoding-Core.package/SocketStream.extension/instance/wrappedStream.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*Zinc-Character-Encoding-Core | ||
wrappedStream | ||
"Answer the stream that the receiver wraps. | ||
Since this the base stream, answer nil" | ||
|
||
^ nil |
3 changes: 3 additions & 0 deletions
3
repository/Zinc-Character-Encoding-Core.package/SocketStream.extension/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"name" : "SocketStream" | ||
} |
7 changes: 7 additions & 0 deletions
7
repository/Zinc-Character-Encoding-Core.package/Stream.extension/instance/rawStream.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*Zinc-Character-Encoding-Core | ||
rawStream | ||
"Answer the innermost stream wrapped by the receiver, e.g. a raw binary file stream, | ||
socket stream, or regular Read/WriteStream. | ||
Since this the base stream, answer ourself." | ||
|
||
^ self |
6 changes: 6 additions & 0 deletions
6
repository/Zinc-Character-Encoding-Core.package/Stream.extension/instance/wrappedStream.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*Zinc-Character-Encoding-Core | ||
wrappedStream | ||
"Answer the stream that the receiver wraps. | ||
Since this the base stream, answer nil" | ||
|
||
^ nil |
3 changes: 3 additions & 0 deletions
3
repository/Zinc-Character-Encoding-Core.package/Stream.extension/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"name" : "Stream" | ||
} |
7 changes: 7 additions & 0 deletions
7
...ory/Zinc-Character-Encoding-Core.package/ZnBufferedReadStream.class/instance/rawStream.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
accessing | ||
rawStream | ||
"Answer the innermost stream wrapped by the receiver, e.g. a raw binary file stream, | ||
socket stream, or regular Read/WriteStream. | ||
Defer to the wrappedStream." | ||
|
||
^ self wrappedStream rawStream |
7 changes: 7 additions & 0 deletions
7
...inc-Character-Encoding-Core.package/ZnBufferedReadWriteStream.class/instance/rawStream.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
accessing | ||
rawStream | ||
"Answer the innermost stream wrapped by the receiver, e.g. a raw binary file stream, | ||
socket stream, or regular Read/WriteStream. | ||
Defer to the wrappedStream." | ||
|
||
^ self wrappedStream rawStream |
7 changes: 7 additions & 0 deletions
7
...ry/Zinc-Character-Encoding-Core.package/ZnBufferedWriteStream.class/instance/rawStream.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
initialize-release | ||
rawStream | ||
"Answer the innermost stream wrapped by the receiver, e.g. a raw binary file stream, | ||
socket stream, or regular Read/WriteStream. | ||
Defer to the wrappedStream." | ||
|
||
^ self wrappedStream rawStream |
4 changes: 4 additions & 0 deletions
4
...inc-Character-Encoding-Core.package/ZnBufferedWriteStream.class/instance/wrappedStream.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
initialize-release | ||
wrappedStream | ||
|
||
^ stream |
7 changes: 7 additions & 0 deletions
7
repository/Zinc-Character-Encoding-Core.package/ZnEncodedStream.class/instance/rawStream.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
accessing | ||
rawStream | ||
"Answer the innermost stream wrapped by the receiver, e.g. a raw binary file stream, | ||
socket stream, or regular Read/WriteStream. | ||
Defer to the wrappedStream." | ||
|
||
^ self wrappedStream rawStream |
7 changes: 7 additions & 0 deletions
7
...ry/Zinc-Character-Encoding-Core.package/ZnNewLineWriterStream.class/instance/rawStream.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
accessing | ||
rawStream | ||
"Answer the innermost stream wrapped by the receiver, e.g. a raw binary file stream, | ||
socket stream, or regular Read/WriteStream. | ||
Defer to the wrappedStream." | ||
|
||
^ self wrappedStream rawStream |
7 changes: 7 additions & 0 deletions
7
...Zinc-Character-Encoding-Core.package/ZnPositionableReadStream.class/instance/rawStream.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
accessing | ||
rawStream | ||
"Answer the innermost stream wrapped by the receiver, e.g. a raw binary file stream, | ||
socket stream, or regular Read/WriteStream. | ||
Defer to the wrappedStream." | ||
|
||
^ self wrappedStream rawStream |
7 changes: 7 additions & 0 deletions
7
repository/Zinc-HTTP.package/ZnHtmlOutputStream.class/instance/rawStream.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
accessing | ||
rawStream | ||
"Answer the innermost stream wrapped by the receiver, e.g. a raw binary file stream, | ||
socket stream, or regular Read/WriteStream. | ||
Defer to the wrappedStream." | ||
|
||
^ self wrappedStream rawStream |
7 changes: 7 additions & 0 deletions
7
repository/Zinc-HTTP.package/ZnLoggingReadStream.class/instance/rawStream.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
accessing | ||
rawStream | ||
"Answer the innermost stream wrapped by the receiver, e.g. a raw binary file stream, | ||
socket stream, or regular Read/WriteStream. | ||
Defer to the wrappedStream." | ||
|
||
^ self wrappedStream rawStream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
SystemOrganization addCategory: #'Zinc-HTTP'! | ||
SystemOrganization addCategory: #'Zinc-HTTP-Client-Server'! | ||
SystemOrganization addCategory: #'Zinc-HTTP-Core'! | ||
SystemOrganization addCategory: #'Zinc-HTTP-Exceptions'! | ||
SystemOrganization addCategory: #'Zinc-HTTP-Logging'! | ||
SystemOrganization addCategory: #'Zinc-HTTP-Streaming'! | ||
SystemOrganization addCategory: #'Zinc-HTTP-Support'! | ||
SystemOrganization addCategory: #'Zinc-HTTP-Variables'! | ||
self packageOrganizer ensurePackage: #'Zinc-HTTP' withTags: #(#'Client-Server' #Core #Exceptions #Logging #Streaming #Support #Variables)! |