public class SuperDevListener extends Object implements CodeServerListener
Constructor and Description |
---|
SuperDevListener(TreeLogger treeLogger,
DevMode.HostedModeOptions options)
Listens for new connections from browsers.
|
Modifier and Type | Method and Description |
---|---|
int |
getSocketPort() |
URL |
makeStartupUrl(String url)
Returns the URL to use in the browser for using this codeserver.
|
void |
setIgnoreRemoteDeath(boolean b)
Set any created BrowserChannelServers to ignore remote deaths.
|
void |
start()
Starts the code server.
|
void |
writeCompilerOutput(StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink)
Writes compiler output to the right places so that the browser will see
the newly compiled GWT code.
|
public SuperDevListener(TreeLogger treeLogger, DevMode.HostedModeOptions options)
public int getSocketPort()
getSocketPort
in interface CodeServerListener
public URL makeStartupUrl(String url) throws UnableToCompleteException
CodeServerListener
makeStartupUrl
in interface CodeServerListener
UnableToCompleteException
public void writeCompilerOutput(StandardLinkerContext linkerStack, ArtifactSet artifacts, ModuleDef module, boolean isRelink) throws UnableToCompleteException
CodeServerListener
writeCompilerOutput
in interface CodeServerListener
UnableToCompleteException
public void setIgnoreRemoteDeath(boolean b)
CodeServerListener
setIgnoreRemoteDeath
in interface CodeServerListener
public void start()
CodeServerListener
start
in interface CodeServerListener
Copyright © 2018. All rights reserved.