Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3745] Ti.Stream needs to call TiStreamProxy wrappers, not impls directly

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionInvalid
Resolution Date2017-06-05T22:14:43.000+0000
Affected Version/sRelease 1.7.0
Fix Version/sn/a
ComponentsiOS
Labelsstream, tbs-1.8.0
ReporterStephen Tramer
AssigneeIngo Muschenetz
Created2011-04-26T13:44:39.000+0000
Updated2017-06-05T22:14:43.000+0000

Description

Ti.Stream methods need to call wrappers for read/write (although not writeStream/pump - although that should be changed too). Right now they only call the internal implementations, due to wackiness that was caused by socket streams; instead, we should treat every call as synchronous. This will involve some finessing of TCP sockets as well, to ensure that when an asynch operation is "blocking", there are broadcasts on error. This will also substantially reduce the complexity of some current code.

Comments

  1. Stephen Tramer 2011-04-27

    Not enough time to handle testing, etc. before freeze; putting into 1.8.0.
  2. Stephen Tramer 2011-07-27

    If it ain't broke we don't have to fix it (right away).

JSON Source