removing getLocalInetSocketAddress(). method has turned out to be of no use.

cusax-fix
Emil Ivov 19 years ago
parent 3b387c9ff5
commit 78cd4f7d47

@ -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

@ -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

@ -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

Loading…
Cancel
Save