Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Enums/ConnectionType: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<!-- Generated @ 08/12/2022 23: | <!-- Generated @ 08/12/2022 23:45:50 +01:00 using Anima's CHM converter based on techref/objectmodel/enums/ConnectionType.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= ConnectionType Enumeration = | __NOTOC__= ConnectionType Enumeration = | ||
| Line 17: | Line 17: | ||
: There is no connection to a remote client. | : There is no connection to a remote client. | ||
VBScript Syntax | === VBScript Syntax === | ||
<div class="clsCodeIndent"> | <div class="clsCodeIndent"> | ||
| Line 28: | Line 28: | ||
</div> | </div> | ||
JavaScript Syntax | |||
=== JavaScript Syntax === | |||
<div class="clsCodeIndent"> | <div class="clsCodeIndent"> | ||
| Line 42: | Line 43: | ||
</div> | </div> | ||
=== Enumerated Type Information === | |||
'''Minimum Availability:''' MSN Messenger 6.0 | |||
Latest revision as of 00:49, 13 August 2022
ConnectionType Enumeration
An enumeration representing the possible states of a peer connection. A peer connection can be in only one state at a time: connected directly, connected indirectly through MSN® Messenger servers, or disconnected.
Constants
Introductory text for parameters. [Optional.]
- Direct (0)
- There is a connection facilitated by switchboard servers between the client and the remote client for some types of data; and there is an open, direct connection between the client and the remote client for the peer-to-peer transport layer.
- Indirect (1)
- There is a connection facilitated by switchboard servers between the client and the remote client.
- Disconnected (2)
- There is no connection to a remote client.
VBScript Syntax
select case myConnType
case Direct document.write("Direct Connection")
case Indirect document.write("Messenger Connection")
case Disconnected document.write("No Connection")
end select
JavaScript Syntax
switch (myConnType) {
case Direct:
document.write("Direct Connection"); break;
case Indirect:
document.write("Messenger Connection"); break;
case Disconnected:
document.write("No Connection"); break;
}
Enumerated Type Information
Minimum Availability: MSN Messenger 6.0