ServerSideSource


Description:

[ CCode ( has_construct_function = false , type = "ESource*" ) ]
public ServerSideSource (SourceRegistryServer server, File? file) throws Error

Creates a new ServerSideSource which belongs to server.

If file is non-null and points to an existing file, the ServerSideSource is initialized from the file content. If a read error occurs or the file contains syntax errors, the function sets throws and returns null .

Parameters:

server

an SourceRegistryServer

file

a File, or null

Returns:

a new ServerSideSource, or null