X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fmain%2Fhelper%2Fconnection%2Fclass_BaseConnectionHelper.php;h=c13e74d356291f8bd0af41ae4f2e041e6a1e606e;hb=e0bb6bee909082fa6408887106037520eddeeea1;hp=c6f5ceef4003aadb63c410b27d76fcdcaacd39b5;hpb=c13fedc3ee06651ae33665a6690d2e6d5382715c;p=hub.git diff --git a/application/hub/main/helper/connection/class_BaseConnectionHelper.php b/application/hub/main/helper/connection/class_BaseConnectionHelper.php index c6f5ceef4..c13e74d35 100644 --- a/application/hub/main/helper/connection/class_BaseConnectionHelper.php +++ b/application/hub/main/helper/connection/class_BaseConnectionHelper.php @@ -25,6 +25,21 @@ class BaseConnectionHelper extends BaseHubHelper implements Registerable, Protoc // Exception codes const EXCEPTION_UNSUPPORTED_ERROR_HANDLER = 0x900; + /** + * Connection type 'incoming' + */ + const CONNECTION_TYPE_INCOMING = 'incoming'; + + /** + * Connection type 'outgoing' + */ + const CONNECTION_TYPE_OUTGOING = 'outgoing'; + + /** + * Connection type 'server' + */ + const CONNECTION_TYPE_SERVER = 'server'; + /** * Protocol used */