Style coding of Java TWS API

Discussion in 'App Development' started by Xraptor, May 5, 2016.

  1. Xraptor

    Xraptor

    Hello!

    I see in TWS API is two way coding

    1. This is using of "com.ib.client" via an EWrapper method
    2. using of "com.ib.controller" via an EClientSocket method

    What difference between this methods? And what is more right using?

    And else question: Java TWS API doesn't using lambda function I can't find in samples and can't find in TWS API codes.
     
  2. Jerryehc

    Jerryehc

    1. callback method for received message
    2. EClientSocket is for sending message