Page MenuHomePhorge

IncomingConnectionListener.h
No OneTemporary

Size
591 B
Referenced Files
None
Subscribers
None

IncomingConnectionListener.h

#ifndef _INCOMINGCONNECTIONLISTENER_H_
#define _INCOMINGCONNECTIONLISTENER_H_
namespace Echo
{
class Connection;
/**
* IncomingConnectionListener.
* When the network manager detects an incoming connection on port onPort it will establish
* a connection then call IncomingConnection(). The Listener can then decide what to do with
* the connection.
*/
class IncomingConnectionListener
{
public:
IncomingConnectionListener(){}
virtual ~IncomingConnectionListener(){}
virtual void IncomingConnection(shared_ptr<Connection> connection)=0;
};
}
#endif

File Metadata

Mime Type
text/x-c++
Expires
Thu, Jan 16, 12:52 AM (6 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
72108
Default Alt Text
IncomingConnectionListener.h (591 B)

Event Timeline