public class GenericTransportInfo extends Object implements TransportConnectionInfo
TransportConnectionInfo
that is based on
ProtocolMetaData
Modifier and Type | Field and Description |
---|---|
protected org.kaaproject.kaa.common.endpoint.gen.ProtocolMetaData |
md |
protected ServerType |
serverType |
protected TransportProtocolId |
transportId |
Constructor and Description |
---|
GenericTransportInfo(ServerType serverType,
org.kaaproject.kaa.common.endpoint.gen.ProtocolMetaData md) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getAccessPointId()
Retrieves the access point id (operations/bootstrap server id)
|
byte[] |
getConnectionInfo()
Retrieves serialized connection properties.
|
ServerType |
getServerType()
Retrieves the channel's server type (i.e.
|
TransportProtocolId |
getTransportId()
Retrieves the
TransportProtocolId . |
int |
hashCode() |
String |
toString() |
protected final ServerType serverType
protected final TransportProtocolId transportId
protected final org.kaaproject.kaa.common.endpoint.gen.ProtocolMetaData md
public GenericTransportInfo(ServerType serverType, org.kaaproject.kaa.common.endpoint.gen.ProtocolMetaData md)
public ServerType getServerType()
TransportConnectionInfo
getServerType
in interface TransportConnectionInfo
ServerType
public TransportProtocolId getTransportId()
TransportConnectionInfo
TransportProtocolId
.getTransportId
in interface TransportConnectionInfo
TransportProtocolId
public int getAccessPointId()
TransportConnectionInfo
getAccessPointId
in interface TransportConnectionInfo
public byte[] getConnectionInfo()
TransportConnectionInfo
getConnectionInfo
in interface TransportConnectionInfo
Copyright © 2015. All rights reserved.