Search in sources :

Example 1 with TransportAddress

use of com.sun.corba.ee.org.omg.CSIIOP.TransportAddress in project Payara by payara.

the class CSIV2TaggedComponentInfo method generateTransportAddresses.

private TransportAddress[] generateTransportAddresses(List<SocketInfo> socketInfos) {
    TransportAddress[] transportAddresses = new TransportAddress[socketInfos.size()];
    for (int i = 0; i < socketInfos.size(); i++) {
        SocketInfo socketInfo = socketInfos.get(i);
        transportAddresses[i] = new TransportAddress(socketInfo.host(), intToShort(socketInfo.port()));
    }
    return transportAddresses;
}
Also used : TransportAddress(com.sun.corba.ee.org.omg.CSIIOP.TransportAddress) SocketInfo(com.sun.corba.ee.spi.folb.SocketInfo)

Aggregations

TransportAddress (com.sun.corba.ee.org.omg.CSIIOP.TransportAddress)1 SocketInfo (com.sun.corba.ee.spi.folb.SocketInfo)1