PageRenderTime 19ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/org/osflash/signals/natives/base/SignalXMLSocket.as

http://github.com/robertpenner/as3-signals
ActionScript | 15 lines | 13 code | 2 blank | 0 comment | 0 complexity | 6cc67449660befdbea0fa03aea937b7f MD5 | raw file
 1package org.osflash.signals.natives.base 
 2{
 3	import flash.net.XMLSocket;
 4	import org.osflash.signals.natives.sets.XMLSocketSignalSet;
 5	
 6	public class SignalXMLSocket extends XMLSocket
 7	{
 8		private var _signals:XMLSocketSignalSet;
 9				
10		public function get signals():XMLSocketSignalSet 
11		{ 
12			return _signals ||= new XMLSocketSignalSet(this);
13		}
14	}
15}