Provides data for the Connecting and Connected events.
The following tables list the members exposed by MunjaService.ConnectionEventArgs.
Public Constructors
| Name | Description | |
|---|---|---|
|
MunjaService.ConnectionEventArgs | Initializes a new instance of the |
Public Fields
| Name | Description | |
|---|---|---|
|
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. |
|
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 |
|
dataTrace | The data passing through HTTP proxies can also be logged but this will cause an event greater speed penalty than connection tracing. |
|
enableTrace | Trace logging can be turned on for debugging purposes but be aware that it a speed penalty will occur. |
|
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 |
|
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 |
|
logPath | This settings allows you to define where log files get generated |
|
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 |
|
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 |
|
serviceType | The type of service the connection has been accepted on |
|
socket | The socket that the connection has been accepted on. |
Public Methods
| Name | Description | |
|---|---|---|
|
Equals | Determines whether the specified |
|
GetHashCode | Serves as a hash function for a particular type. |
|
GetType | Gets the |
|
ToString | Returns a |
Protected Methods
| Name | Description | |
|---|---|---|
|
Finalize | Allows an |
|
MemberwiseClone | Creates a shallow copy of the current |