Permalink
Browse files

mq, refactor: remove unused code.

  • Loading branch information...
xicilion committed Dec 27, 2017
1 parent 5b071a3 commit 6de34423b4996d628bd47572657678847fb52697
View
@@ -14,13 +14,6 @@
namespace fibjs {
class Chain : public Chain_base {
public:
// object_base
virtual result_t dispose()
{
return CHECK_ERROR(CALL_E_INVALID_CALL);
}
public:
// Handler_base
virtual result_t invoke(object_base* v, obj_ptr<Handler_base>& retVal,
@@ -19,13 +19,6 @@ class HttpHandler : public HttpHandler_base {
public:
HttpHandler();
public:
// object_base
virtual result_t dispose()
{
return CHECK_ERROR(CALL_E_INVALID_CALL);
}
public:
// Handler_base
virtual result_t invoke(object_base* v, obj_ptr<Handler_base>& retVal,
@@ -17,13 +17,6 @@ namespace fibjs {
class HttpServer : public HttpServer_base {
FIBER_FREE();
public:
// object_base
virtual result_t dispose()
{
return CHECK_ERROR(CALL_E_INVALID_CALL);
}
public:
// TcpServer_base
virtual result_t run(AsyncEvent* ac);
@@ -17,13 +17,6 @@ namespace fibjs {
class HttpsServer : public HttpsServer_base {
FIBER_FREE();
public:
// object_base
virtual result_t dispose()
{
return CHECK_ERROR(CALL_E_INVALID_CALL);
}
public:
// TcpServer_base
virtual result_t run(AsyncEvent* ac);
@@ -22,13 +22,6 @@ class JSHandler : public Handler_base {
FIBER_FREE();
public:
// object_base
virtual result_t dispose()
{
return CHECK_ERROR(CALL_E_INVALID_CALL);
}
public:
// Handler_base
virtual result_t invoke(object_base* v, obj_ptr<Handler_base>& retVal,
View
@@ -38,13 +38,6 @@ class Routing : public Routing_base {
bool m_bSub;
};
public:
// object_base
virtual result_t dispose()
{
return CHECK_ERROR(CALL_E_INVALID_CALL);
}
public:
// Handler_base
virtual result_t invoke(object_base* v,
@@ -16,13 +16,6 @@ namespace fibjs {
class SslHandler : public SslHandler_base {
FIBER_FREE();
public:
// object_base
virtual result_t dispose()
{
return CHECK_ERROR(CALL_E_INVALID_CALL);
}
public:
// Handler_base
virtual result_t invoke(object_base* v, obj_ptr<Handler_base>& retVal,
@@ -17,13 +17,6 @@ namespace fibjs {
class SslServer : public SslServer_base {
FIBER_FREE();
public:
// object_base
virtual result_t dispose()
{
return CHECK_ERROR(CALL_E_INVALID_CALL);
}
public:
// TcpServer_base
virtual result_t run(AsyncEvent* ac);
@@ -22,13 +22,6 @@ class TcpServer : public TcpServer_base {
public:
TcpServer();
public:
// object_base
virtual result_t dispose()
{
return CHECK_ERROR(CALL_E_INVALID_CALL);
}
public:
// TcpServer_base
virtual result_t run(AsyncEvent* ac);

0 comments on commit 6de3442

Please sign in to comment.