简体   繁体   中英

Delphi: Indy9 to Indy10 Migration: Using IdCustomHTTPServer & IdHTTPServer

Is there a doc on how to migrate an indy9 solution to indy10?

We migrated our client pieces fine.

The server piece is actually a component we use (with sources) that uses:

  IdCustomHTTPServer,
  IdHTTPServer,
  IdTCPServer,
  IdThreadMgrPool,

Any hints/docs on how indy10 has rearranged itself would be v helpful.

Is there a doc on how to migrate an indy9 solution to indy10?

Not specifically, but IIRC there might be some pieces mentioned in the online documentation .

IdCustomHTTPServer,
IdHTTPServer,
IdTCPServer

Those exist in Indy 10.

IdThreadMgrPool,

That, on the other hand, was replaced with a new TIdSchedulerOfThreadPool component.

Any hints/docs on how indy10 has rearranged itself would be v helpful.

Some of the big changes are:

  1. Most of the TIdTCPConnection methods were moved to the TIdIOHandler class.

  2. the TIdPeerThread class was replaced with a new TIdContext class.

  3. TIdThreadMgr... components were replaced with new TIdSchedulerOfThread... components.

If you are having particular problems with the migration, ask questions about it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM