Class RouteImpl
java.lang.Object
com.swiftmq.impl.routing.single.route.v400.RouteImpl
- All Implemented Interfaces:
Route
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintintgetKey()intgetType()booleanvoidreadContent(DataInput in) voidsetDestinationRouter(String destinationRouter) voidsetRoutingConnection(RoutingConnection routingConnection) voidsetType(int type) voidsetVersion(String version) toString()voidwriteContent(DataOutput out)
-
Constructor Details
-
RouteImpl
-
RouteImpl
public RouteImpl()
-
-
Method Details
-
getType
public int getType() -
setType
public void setType(int type) -
getVersion
- Specified by:
getVersionin interfaceRoute
-
setVersion
- Specified by:
setVersionin interfaceRoute
-
getDestinationRouter
- Specified by:
getDestinationRouterin interfaceRoute
-
setDestinationRouter
- Specified by:
setDestinationRouterin interfaceRoute
-
getKey
-
getLastHop
- Specified by:
getLastHopin interfaceRoute
-
addHop
-
hasHop
-
getHopCount
public int getHopCount()- Specified by:
getHopCountin interfaceRoute
-
getRoutingConnection
- Specified by:
getRoutingConnectionin interfaceRoute
-
setRoutingConnection
- Specified by:
setRoutingConnectionin interfaceRoute
-
getDumpId
public int getDumpId() -
writeContent
- Throws:
IOException
-
readContent
- Throws:
IOException
-
toString
-