Permalink
Browse files

remove old style part stop()

  • Loading branch information...
1 parent c889221 commit ed03e940fe076fca74059e838f5464477cf02ca9 @cloudshift committed Mar 14, 2012
@@ -66,12 +66,6 @@ class PushListenerImpl implements Conduit {
return oc;
}
- public function stop_(?d:Dynamic):Outcome<String,Dynamic> {
- var prm = Core.outcome();
- prm.resolve(Right(this));
- return prm;
- }
-
function removeSession(session) {
if (session != null) {
Core.info("removing session");
@@ -47,13 +47,6 @@ class TChannelClient implements ChannelClient,
}
public function
- stop_(?d:Dynamic) {
- var oc = Core.outcome();
- oc.resolve(Right(d));
- return oc;
- }
-
- public function
channel<T>(id:String):Outcome<String,Chan<T>> {
return _sink.authorize(_sink.chan(id));
}
@@ -95,13 +95,6 @@ class TChannelServer implements ChannelServer,implements Part<Dynamic,String,Cha
}
public function
- stop_(?d:Dynamic) {
- var oc = Core.outcome();
- oc.resolve(Right(d));
- return oc;
- }
-
- public function
addHttpServer(http):ChannelServer {
_http = http;
return this;
@@ -29,11 +29,6 @@ class SessionClientImpl implements Part<Dynamic,String,SessionClient,ESession>,i
return oc;
}
- public function
- stop_(?d:Dynamic):Outcome<String,Dynamic> {
- return null;
- }
-
function doLogin(p:Future<ESession>,e:ESession) {
switch(e) {
case UserOk(sid):
@@ -34,12 +34,6 @@ implements Part<HttpServer,String,SessionMgr,ESessionOp>, implements SessionMgr
return oc;
}
-
- public function
- stop_(?d:Dynamic):Outcome<String,Dynamic> {
- return null;
- }
-
public function http() {
return _http;
}

0 comments on commit ed03e94

Please sign in to comment.