pub fn send_to_thread(&mut self, oid : JavaObjectId, tid : uint) {
		let obj = self.owned_objects.pop(&oid).unwrap();
		let m = OB_REMOTE_OBJECT_OP(self.tid, oid, REMOTE_DISOWN(obj, tid));
		self.get_thread().send_message(m);
	}
// ----------------------------------------------
// Transfer ownership of an object to a particular thread
Transfer ownership of an object to a particular thread
Transfer ownership of an object to a particular thread
pub fn send_to_thread(&mut self, oid : JavaObjectId, tid : uint) {
		let obj = self.owned_objects.pop(&oid).unwrap();
		let m = OB_REMOTE_OBJECT_OP(self.tid, oid, REMOTE_DISOWN(obj, tid));
		self.get_thread().send_message(m);
	}
pub fn send_to_thread ( & mut self , oid : JavaObjectId , tid : uint ) { let obj = self . owned_objects . pop ( & oid ) . unwrap ( ) ; let m = OB_REMOTE_OBJECT_OP ( self . tid , oid , REMOTE_DISOWN ( obj , tid ) ) ; self . get_thread ( ) . send_message ( m ) ; }
Transfer ownership of an object to a particular thread
Transfer ownership of an object to a particular thread
&mut self
oid
JavaObjectId
tid
uint