scala - Subclassing an Akka Agent -


i create subclass of akka.agent.agent. have tried following...

import akka.agent.agent import markets.tickers.tick  class tickeragent(val initialvalue: tick) extends agent[tick] {   ??? } 

...at point prompted implement remaining methods of abstract agent class. however, want keep default implementations these methods. seem source default implementations defined in final, private secretagent class inside agent companion object.

is there anyway me somehow import or otherwise access default agent when implementing subclass of agent?

according knowledge, there no other way except implementing abstract methods defined agent[t] class. can call default methods inside methods implementation.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -