* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
interface DiscoverableProtocol extends Discoverable {
- /**
- * "Discovers" the protocol type from given raw package data. This is done
- * by looking at the 'recipient' field and extract the first part from it.
- *
- * @param $packageData Raw package data
- * @return $protocolType Type of protocol, e.g. 'tcp' for TCP/IPv4 connections
- */
- function discoverProtocolByPackageData (array $packageData);
}
// [EOF]