Support for Separated Read Write

This commit is contained in:
Sagar Muchhal 2014-12-03 21:14:03 -05:00 committed by Josh Matthews
parent ad9aedac77
commit 75ffda9fb8
3 changed files with 18 additions and 3 deletions

View file

@ -14,6 +14,7 @@ use devtools_traits::{ActorValue, DevtoolScriptControlMsg};
use servo_msg::constellation_msg::PipelineId;
use collections::TreeMap;
use core::cell::RefCell;
use serialize::json;
use serialize::json::ToJson;
use std::io::TcpStream;
@ -105,6 +106,7 @@ pub struct ConsoleActor {
pub name: String,
pub pipeline: PipelineId,
pub script_chan: Sender<DevtoolScriptControlMsg>,
pub streams: RefCell<Vec<TcpStream>>,
}
impl Actor for ConsoleActor {