public class NettyServer extends AbstractRemotingServer
| 限定符和类型 | 字段和说明 |
|---|---|
static Integer |
DEFAULT_PORT |
static String |
SERVER_TYPE |
| 构造器和说明 |
|---|
NettyServer() |
| 限定符和类型 | 方法和说明 |
|---|---|
RemotingChannelHolder |
doStart(RemotingServerConfiguration config) |
void |
doStop() |
RemotingChannelHolder |
getChannel() |
RemotingServerConfiguration |
getRemotingServerConfiguration() |
String |
getRemotingType() |
boolean |
isActive() |
boolean |
isOpen() |
doStart, startgetId, getWeight, isStart, setWeight, stoppublic static final Integer DEFAULT_PORT
public RemotingChannelHolder doStart(RemotingServerConfiguration config) throws RpcRemotingException
doStart 在类中 AbstractRemotingServerRpcRemotingExceptionpublic void doStop()
throws RpcRemotingException
doStop 在类中 AbstractRemotingEndpointRpcRemotingExceptionpublic boolean isOpen()
public boolean isActive()
public RemotingChannelHolder getChannel()
public String getRemotingType()
public RemotingServerConfiguration getRemotingServerConfiguration()
Copyright © 2020. All rights reserved.