~josejuan-sanchez/jhelioviewer/soc

« back to all changes in this revision

Viewing changes to src/viewmodel/src/org/helioviewer/viewmodel/view/jp2view/io/http/HTTPSocket.java

  • Committer: José Juan Sánchez Hernández
  • Date: 2011-10-24 19:09:33 UTC
  • Revision ID: josejuan.sanchez@gmail.com-20111024190933-31ncf40hl3cimn7i
Modifications in the communication scheme. In this version the client updates the estimated bandwidth and the framerate. The miniview is disabled.

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
        if (line == null)
141
141
            return null;
142
142
 
143
 
        parts = line.split(" ", 3);
144
 
        
145
 
        /****/
146
 
        //System.out.println("[HTTPSocket][receive] line: " + line);
147
 
        //System.out.println("[HTTPSocket][receive] parts: " + parts.length);        
148
 
        /****/
 
143
        parts = line.split(" ", 3);        
149
144
 
150
145
        if (parts.length != 3)
151
146
            throw new ProtocolException("Invalid HTTP message");