diff options
Diffstat (limited to 'plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/internal/tcp/TCPConnector.java')
-rw-r--r-- | plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/internal/tcp/TCPConnector.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/internal/tcp/TCPConnector.java b/plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/internal/tcp/TCPConnector.java index 1ef7eebed4..525141b85a 100644 --- a/plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/internal/tcp/TCPConnector.java +++ b/plugins/org.eclipse.net4j.tcp/src/org/eclipse/net4j/internal/tcp/TCPConnector.java @@ -276,12 +276,12 @@ public abstract class TCPConnector extends Connector implements ITCPConnector, I } @Override - protected void registerChannelWithPeer(int channelID, short channelIndex, IProtocol protocol) + protected void registerChannelWithPeer(int channelID, short channelIndex, IProtocol protocol, long timeout) throws ConnectorException { try { - if (!controlChannel.registerChannel(channelID, channelIndex, protocol)) + if (!controlChannel.registerChannel(channelID, channelIndex, protocol, timeout)) { throw new ConnectorException("Failed to register channel with peer"); //$NON-NLS-1$ } |