Provides data for the Connecting and Connected events.


The following tables list the members exposed by MunjaService.ConnectionEventArgs.

Public Constructors

  Name Description
Public method MunjaService.ConnectionEventArgs Initializes a new instance of the MunjaService.ConnectionEventArgs class.
Top

Public Fields

  Name Description
Public field allowed Specifies whether the connection is allowed. Application developers can intercept the connection attempt by subscribing to the Connecting event and disallow the connection, based on defined rules, by setting this member to false.
Public field connectionHandler The connection handler that accepted this connection. This can be case from the base type Handler to HTTPHandler or IPHandler dependin on the service type
Public field dataTrace The data passing through HTTP proxies can also be logged but this will cause an event greater speed penalty than connection tracing.
Public field enableTrace Trace logging can be turned on for debugging purposes but be aware that it a speed penalty will occur.
Public field localAddress The local IP address that the connection was received on. Different services can use different local endpoints to allow different settings for different segments
Public field localHostname The local host name that the connection was received on. Different services can use different local endpoints to allow different settings for different segments
Public field logPath This settings allows you to define where log files get generated
Public field remoteAddress The IP address of the connecting computer. This can be used for checking against security policies in order to determine whether the connection should be allowed
Public field remoteHostname The host name of the connecting computer. This can be used for checking against security policies in order to determine whether the connection should be allowed
Public field serviceType The type of service the connection has been accepted on
Public field socket The socket that the connection has been accepted on.
Top

Public Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object)
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Top

Protected Methods

  Name Description
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Top

See Also