MCPcopy Create free account
hub / github.com/apache/mesos / InetSocketAddress

Method InetSocketAddress

src/jvm/java/net.hpp:29–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27{
28public:
29 explicit InetSocketAddress(int port)
30 {
31 static Jvm::Constructor constructor = Jvm::get()->findConstructor(
32 Jvm::Class::named("java/net/InetSocketAddress")
33 .constructor()
34 .parameter(Jvm::get()->intClass));
35
36 object = Jvm::get()->invoke(constructor, port);
37 }
38};
39
40} // namespace net {

Callers

nothing calls this directly

Calls 4

findConstructorMethod · 0.80
constructorMethod · 0.80
invokeMethod · 0.60
getFunction · 0.50

Tested by

no test coverage detected