Results 1 to 9 of 9

Hybrid View

  1. #1
    Member
    Join Date
    Jul 2006
    Location
    London
    Posts
    5
    Hi Alessandro,

    Do you mean by this that I have to use two server objects: one for data and one for metadata adapter? I see that in the config files the port numbers are different for two cases...

    And as I have only one request_reply_port parameter for each, I use for each of two adapters the same port numbers for the request and reply streams with simply two distinct TcpConnect objects, right?

    Regards,
    Nikit

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Nikit,

    Basically you have to create three client sockets (two for the Data Adapter and one for the Metadata Adapter).

    Example:

    Code csharp:
    1. MetadataProviderServer metadataServer = new MetadataProviderServer();
    2. DataProviderServer dataServer = new DataProviderServer();
    3.  
    4. TcpClient metadataRRSocket = new TcpClient(host, 6663);
    5. TcpClient dataRRSocket = new TcpClient(host, 6661);
    6. TcpClient dataNotifySocket = new TcpClient(host, 6662);
    7.  
    8. metadataServer.RequestStream = metadataRRSocket.GetStream();
    9. metadataServer.ReplyStream = metadataRRSocket.GetStream();
    10. dataServer.RequestStream = dataRRSocket.GetStream();
    11. dataServer.ReplyStream = dataRRSocket.GetStream();
    12. dataServer.NotifyStream = dataNotifySocket.GetStream();

 

 

Similar Threads

  1. Launch LS application.
    By karthik in forum Client SDKs
    Replies: 3
    Last Post: July 7th, 2010, 10:43 AM
  2. createEngine problem on ASP.NET application
    By gmotodd in forum Client SDKs
    Replies: 8
    Last Post: May 4th, 2009, 12:51 PM
  3. Standalone launcher
    By sjohn in forum Adapter SDKs
    Replies: 7
    Last Post: February 18th, 2008, 08:50 AM
  4. Gracefully disconnect standalone .NET adapters
    By riaanj in forum Adapter SDKs
    Replies: 15
    Last Post: September 26th, 2007, 09:30 AM
  5. .NET Standalone Adapter with Client
    By wattsw in forum Adapter SDKs
    Replies: 2
    Last Post: November 13th, 2006, 05:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 03:48 PM.