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;
}
Aggregations