Changeset 118:e139df94ebd5 in finroc_plugins_tcp-java


Ignore:
Timestamp:
08.07.2017 19:06:09 (3 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Phase:
public
Message:

Adapts to changes in finroc_core (support for addressing remote elements via URI - and full initialization of remote ports that are received after initial structure exchange).

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Peer.java

    r114 r118  
    5454     */ 
    5555    public Peer(String peerName, String networkConnection, int preferredServerPort, boolean tryNextPortsIfOccupied, boolean autoConnectToAllPeers, String serverListenAddress) { 
    56         super("TCP", networkConnection); 
     56        super("tcp", networkConnection); 
    5757        if (serverListenAddress == null) { 
    5858            serverListenAddress = "0.0.0.0"; 
     
    7171     */ 
    7272    public Peer(String peerName, int preferredServerPort, boolean tryNextPortsIfOccupied, String serverListenAddress) { 
    73         super("TCP", "127.0.0.1"); 
     73        super("tcp", "127.0.0.1"); 
    7474        if (serverListenAddress == null) { 
    7575            serverListenAddress = "0.0.0.0"; 
     
    8888     */ 
    8989    public Peer(String peerName, String networkConnection, Definitions.StructureExchange structureExchange, boolean autoConnectToAllPeers) { 
    90         super("TCP", networkConnection); 
     90        super("tcp", networkConnection); 
    9191        implementation = new TCPPeer(this, peerName, TCP.PeerType.CLIENT_ONLY, structureExchange, networkConnection, -1, false, autoConnectToAllPeers, ""); 
    9292    } 
  • internal/TCPConnection.java

    r117 r118  
    404404 
    405405                    if (!modelChanges.empty()) { 
     406                        modelChanges.initializeUnitializedPorts(remoteRuntime); 
    406407                        getModelHandler().applyModelChanges(modelChanges); 
    407408                        modelChanges = new BufferedModelChanges(); 
Note: See TracChangeset for help on using the changeset viewer.