create


Description:

[ Version ( since = "0.17.2" ) ]
public static ContextManager create (uint port)

Factory-method to create a new ContextManager.

The final type of the ContextManager depends on the compile-time selection or - in case of NetworkManager - on its availability during runtime. If it is not available, the implementation falls back to the basic Unix context manager instead.

Parameters:

port

Port to create contexts for, or 0 if you don't care what port is used.

Returns:

A new ContextManager object.