public class IIOPCurrentImpl extends DefaultCurrentImpl implements Current
{
public int remote_port() throws NoContext
{
Connection transport = getTransport();
if (transport instanceof IIOPConnection)
{
return ((IIOPAddress) ((IIOPProfile) getLatestTransportCurentEvent ().profile ()).getAddress ()).getPort ();
}