public class GridTcpRestProtocol extends GridRestProtocolAdapter
| Constructor and Description |
|---|
GridTcpRestProtocol(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAddressPropertyName()
Return node attribute name to store used address.
|
protected String |
getHostNamePropertyName()
Return node attribute name to store used host name.
|
protected String |
getPortPropertyName()
Return node attribute name to store used port number.
|
String |
name() |
void |
start(GridRestProtocolHandler hnd)
Starts protocol.
|
void |
stop()
Stops protocol.
|
assertParameter, authenticate, getProperties, startInfo, stopInfopublic GridTcpRestProtocol(GridKernalContext ctx)
ctx - Context.public String name()
public void start(GridRestProtocolHandler hnd) throws GridException
hnd - Command handler.GridException - If failed.public void stop()
protected String getAddressPropertyName()
getAddressPropertyName in class GridRestProtocolAdapterprotected String getHostNamePropertyName()
getHostNamePropertyName in class GridRestProtocolAdapterprotected String getPortPropertyName()
getPortPropertyName in class GridRestProtocolAdapterCopyright © 2014. All rights reserved.