BaseProtocol.connectionMade - multiple declarations
- Function BaseProtocol.connectionMade
- Function BaseProtocol.connectionMade
- Function BaseProtocol.connectionMade
- Function BaseProtocol.connectionMade
Function BaseProtocol.connectionMade
connectionMade
() and connectionLost
() are
called exactly once per successful connection. All other callbacks will
be called between those two methods, which allows for easier resource
management in your protocol implementation.
Called when a connection is made.
Prototype
abstract void connectionMade(
BaseTransport transport
);
Parameters
Name | Description |
---|---|
transport | is the transport representing the connection. You are
responsible for storing it somewhere if you need to. |
Function BaseProtocol.connectionMade
connectionMade
() and connectionLost
() are
called exactly once per successful connection. All other callbacks will
be called between those two methods, which allows for easier resource
management in your protocol implementation.
Called when a connection is made.
Prototype
abstract void connectionMade(
BaseTransport transport
);
Parameters
Name | Description |
---|---|
transport | is the transport representing the connection. You are
responsible for storing it somewhere if you need to. |
Function BaseProtocol.connectionMade
connectionMade
() and connectionLost
() are
called exactly once per successful connection. All other callbacks will
be called between those two methods, which allows for easier resource
management in your protocol implementation.
Called when a connection is made.
Prototype
abstract void connectionMade(
BaseTransport transport
);
Parameters
Name | Description |
---|---|
transport | is the transport representing the connection. You are
responsible for storing it somewhere if you need to. |
Function BaseProtocol.connectionMade
connectionMade
() and connectionLost
() are
called exactly once per successful connection. All other callbacks will
be called between those two methods, which allows for easier resource
management in your protocol implementation.
Called when a connection is made.
Prototype
abstract void connectionMade(
BaseTransport transport
);
Parameters
Name | Description |
---|---|
transport | is the transport representing the connection. You are
responsible for storing it somewhere if you need to. |
Authors
Dragos Carp
Copyright
© 2015-2016 Dragos Carp
License
Boost Software License - Version 1.0