Changeset 308

Show
Ignore:
Timestamp:
06/24/08 03:05:50 (2 months ago)
Author:
heyadayo
Message:

Moved *TCPConnection -> *TCPSocket

Location:
branches/0.5/daemon/orbited/static
Files:
1 removed
8 modified
6 moved

Legend:

Unmodified
Added
Removed
  • branches/0.5/daemon/orbited/static/BinaryTCPSocket.js

    r302 r308  
    829829 
    830830 
    831 // start @include(BinaryTCPConnectionImplementation.js) 
    832 BinaryTCPConnection = function(domain, port) { 
     831// start @include(BinaryTCPSocketImplementation.js) 
     832BinaryTCPSocket = function(domain, port) { 
    833833    var self = this; 
    834834    self.onopen = function() { } 
     
    868868} 
    869869 
    870 // end @include(BinaryTCPConnectionImplementation.js) 
     870// end @include(BinaryTCPSocketImplementation.js) 
  • branches/0.5/daemon/orbited/static/BinaryTCPSocket.js.template

    r289 r308  
    2929@include(hex.js)@ 
    3030@include(unicode.js)@ 
    31 @include(BinaryTCPConnectionImplementation.js)@ 
     31@include(BinaryTCPSocketImplementation.js)@ 
  • branches/0.5/daemon/orbited/static/BinaryTCPSocketImplementation.js

    r289 r308  
    1 BinaryTCPConnection = function(domain, port) { 
     1BinaryTCPSocket = function(domain, port) { 
    22    var self = this; 
    33    self.onopen = function() { } 
  • branches/0.5/daemon/orbited/static/TCPSocket.js

    r302 r308  
    692692 
    693693 
    694 // start @include(TCPConnectionImplementation.js) 
    695 TCPConnection = function(domain, port) { 
     694// start @include(TCPSocketImplementation.js) 
     695TCPSocket = function(domain, port) { 
    696696    var self = this; 
    697697    self.onopen = function() { } 
     
    731731} 
    732732 
    733 // end @include(TCPConnectionImplementation.js) 
     733// end @include(TCPSocketImplementation.js) 
  • branches/0.5/daemon/orbited/static/TCPSocket.js.template

    r289 r308  
    2727@include(BaseTCPConnection.js)@ 
    2828@include(XSubdomainRequest.js)@ 
    29 @include(TCPConnectionImplementation.js)@ 
     29@include(TCPSocketImplementation.js)@ 
  • branches/0.5/daemon/orbited/static/TCPSocketImplementation.js

    r289 r308  
    1 TCPConnection = function(domain, port) { 
     1TCPSocket = function(domain, port) { 
    22    var self = this; 
    33    self.onopen = function() { } 
  • branches/0.5/daemon/orbited/static/demos/chat/index.html

    r282 r308  
    55  <title>Orbited In-browser IRC</title> 
    66  <link rel="stylesheet" href="chat.css"> 
    7   <script src="/static/TCPConnection.js"></script> 
     7  <script src="/static/TCPSocket.js"></script> 
    88  <script src="/static/protocols/irc/irc.js"></script> 
    99  <script src="simplechat.js"></script> 
  • branches/0.5/daemon/orbited/static/demos/stomp/index.html

    r284 r308  
    55    <link rel="stylesheet" href="style.css"> 
    66    <title>JavaScript Stomp Test</title> 
    7     <script src="/static/BinaryTCPConnection.js"></script> 
     7    <script src="/static/BinaryTCPSocket.js"></script> 
    88    <script src="shell.js"></script> 
    9      <script src="stomp.js"></script> 
     9     <script src="/static/protocols/stomp/stomp.js"></script> 
    1010    <script> 
    1111        onload = function() { 
     
    1515            var s = new Shell(output) 
    1616            print = s.print 
    17             ORBITED_PORT = 7000 
     17//            ORBITED_PORT = 8000 
    1818            stomp = new STOMPClient() 
    1919            stomp.onmessage = function(msg) { print(msg.body) } 
  • branches/0.5/daemon/orbited/static/demos/telnet/index.html

    r284 r308  
    88        #input {width:100%;} 
    99    </style> 
    10     <script src="/static/TCPConnection.js"></script> 
     10    <script src="/static/TCPSocket.js"></script> 
    1111    <script src="/static/protocols/telnet/telnet.js"></script> 
    1212    <script src="telnet-gui.js"></script> 
  • branches/0.5/daemon/orbited/static/demos/xmpp/index.html

    r301 r308  
    1414    <script type="text/javascript" src="http://yui.yahooapis.com/2.5.2/build/layout/layout-beta-min.js"></script>  
    1515     
    16     <script src="/static/BinaryTCPConnection.js"></script> 
     16    <script src="/static/BinaryTCPSocket.js"></script> 
    1717    <script src="/static/protocols/xmpp/xmpp.js"></script> 
    1818    <script src="chat.js"></script> 
  • branches/0.5/daemon/orbited/static/protocols/irc/irc.js

    r282 r308  
    113113} 
    114114 
    115 IRCClient.prototype.transport = TCPConnection 
     115IRCClient.prototype.transport = TCPSocket 
  • branches/0.5/daemon/orbited/static/protocols/stomp/stomp.js

    r270 r308  
    117117            send_frame("CONNECT", [["login", user]]) 
    118118        } 
    119         conn = new BinaryTCPConnection(domain, port) 
     119        conn = new BinaryTCPSocket(domain, port) 
    120120        conn.onopen = onsockopen 
    121121        conn.onread = self.messageReceived 
  • branches/0.5/daemon/orbited/static/protocols/telnet/telnet.js

    r275 r308  
    5959} 
    6060 
    61 TelnetClient.prototype.transport = TCPConnection 
     61TelnetClient.prototype.transport = TCPSocket 
  • branches/0.5/daemon/orbited/static/protocols/xmpp/xmpp.js

    r307 r308  
    196196    } 
    197197} 
    198 XMPPClient.prototype.transport = BinaryTCPConnection; 
     198XMPPClient.prototype.transport = BinaryTCPSocket;