Method and apparatus for dynamically and adaptively alternating encodings,
protocols, and/or transports in remoting system servers. Embodiments may
provide a mechanism or mechanisms to isolate encoding, protocol, and/or
transport changes in remoting system servers. In a remoting system, a
server may make its service(s) available via multiple, published
encoding, protocol and transport (EPT) combinations. One embodiment may
provide a mechanism that enables a remoting system server to determine an
EPT combination for receiving messages from a client, to have that choice
drive the creation of objects and/or interface instances on the remoting
system server used in the message exchange (including, but not limited
to, connections, protocol handlers, and decoders), and to switch to a
different EPT combination on the remoting system server to receive other
messages, if necessary. Embodiments may be used in all types of remoting
systems and/or in other computing environments including, but not limited
to, peer-to-peer environments.