diff --git a/src/net/java/sip/communicator/impl/protocol/mock/MockCallParticipant.java b/src/net/java/sip/communicator/impl/protocol/mock/MockCallParticipant.java index 827a72193..e61d77602 100644 --- a/src/net/java/sip/communicator/impl/protocol/mock/MockCallParticipant.java +++ b/src/net/java/sip/communicator/impl/protocol/mock/MockCallParticipant.java @@ -171,21 +171,6 @@ public Contact getContact() return null; } - /** - * The address that we have used to contact this participant. In cases - * where no direct connection has been established with the participant, - * this method will return the address that will be first tried when - * connection is established (often the one used to connect with the - * protocol server). The address may change during a session and - * - * @return The address that we have used to contact this participant. - */ - public InetSocketAddress getLocalTransportAddress() - { - /** @todo implement getLocalTransportAddress() */ - return null; - } - /** * Returns the protocol provider that this participant belongs to. * @return a reference to the ProtocolProviderService that this participant diff --git a/src/net/java/sip/communicator/impl/protocol/sip/CallParticipantSipImpl.java b/src/net/java/sip/communicator/impl/protocol/sip/CallParticipantSipImpl.java index 633cf9a53..757cf1b71 100644 --- a/src/net/java/sip/communicator/impl/protocol/sip/CallParticipantSipImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/sip/CallParticipantSipImpl.java @@ -431,26 +431,6 @@ public void setTransportAddress(InetSocketAddress transportAddress) , transportAddress); } - /** - * The address that we have used to contact this participant. In cases - * where no direct connection has been established with the participant, - * this method will return the address that will be first tried when - * connection is established (often the one used to connect with the - * protocol server). The address may change during a session and - * - * @return The address that we have used to contact this participant. - */ - public InetSocketAddress getLocalTransportAddress() - { - /** @todo this is ugly as we don't really know which listening point - * we're using. will do until we implement ice. */ - int defaultLpPort - = ((ProtocolProviderServiceSipImpl)getProtocolProvider()) - .getDefaultListeningPoint().getPort(); - - return new InetSocketAddress(defaultLpPort); - } - /** * Returns the protocol provider that this participant belongs to. * @return a reference to the ProtocolProviderService that this participant diff --git a/src/net/java/sip/communicator/service/protocol/CallParticipant.java b/src/net/java/sip/communicator/service/protocol/CallParticipant.java index 2996c249e..1fd94c54f 100644 --- a/src/net/java/sip/communicator/service/protocol/CallParticipant.java +++ b/src/net/java/sip/communicator/service/protocol/CallParticipant.java @@ -107,17 +107,6 @@ public interface CallParticipant */ public byte[] getImage(); - /** - * The address that we have used to contact this participant. In cases - * where no direct connection has been established with the participant, - * this method will return the address that will be first tried when - * connection is established (often the one used to connect with the - * protocol server). The address may change during a session and - * - * @return The address that we have used to contact this participant. - */ - public InetSocketAddress getLocalTransportAddress(); - /** * Returns the protocol provider that this participant belongs to. * @return a reference to the ProtocolProviderService that this participant