Skip to content
Snippets Groups Projects
Commit 7cebe063 authored by Martin Nilsson's avatar Martin Nilsson
Browse files

Improved _sprintf (!)

Rev: lib/modules/Protocols.pmod/LysKOM.pmod/Connection.pike:1.10
parent 1a384331
No related branches found
No related tags found
No related merge requests found
// $Id: Connection.pike,v 1.9 2002/05/13 13:18:35 grubba Exp $ // $Id: Connection.pike,v 1.10 2002/11/29 01:10:58 nilsson Exp $
//! This class contains nice abstraction for calls into the //! This class contains nice abstraction for calls into the
//! server. They are named "@tt{@i{call@}@}", //! server. They are named "@tt{@i{call@}@}",
//! "@tt{async_@i{call@}@}" or //! "@tt{async_@i{call@}@}" or
...@@ -122,8 +122,6 @@ class SyncRequest ...@@ -122,8 +122,6 @@ class SyncRequest
if (!m) return ret; if (!m) return ret;
else return m; else return m;
} }
string _sprintf(){ return "SyncRequest()"; }
} }
class AsyncRequest class AsyncRequest
...@@ -141,8 +139,6 @@ class AsyncRequest ...@@ -141,8 +139,6 @@ class AsyncRequest
req->async(@args); req->async(@args);
return req; return req;
} }
string _sprintf(){ return "AsyncRequest()"; }
} }
class AsyncCBRequest class AsyncCBRequest
...@@ -161,8 +157,6 @@ class AsyncCBRequest ...@@ -161,8 +157,6 @@ class AsyncCBRequest
req->async(@args); req->async(@args);
return req; return req;
} }
string _sprintf(){ return "AsyncCBRequest()"; }
} }
mixed `->(string request) mixed `->(string request)
...@@ -181,5 +175,3 @@ mixed `->(string request) ...@@ -181,5 +175,3 @@ mixed `->(string request)
} }
mixed `[](string request) { return `->(request); } mixed `[](string request) { return `->(request); }
string _sprintf(){ return "Connection()"; }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment