Packages

p

types

OmiTypes

package OmiTypes

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OmiTypes
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class ActorSenderInformation(actorName: String, actorRef: ActorRef) extends SenderInformation with Product with Serializable
  2. case class CallRequest(odf: ODF, callback: Option[Callback] = None, ttl: Duration = 10.seconds, user0: UserInfo = UserInfo(), senderInformation: Option[SenderInformation] = None, ttlLimit: Option[Timestamp] = None, requestID: Option[Long] = None) extends OmiRequest with OdfRequest with PermissiveRequest with Product with Serializable
  3. sealed trait Callback extends AnyRef

    Contains information for sending callbacks for a request or subscription

  4. case class CancelRequest(requestIDs: OdfCollection[Long] = OdfCollection.empty, ttl: Duration = 10.seconds, user0: UserInfo = UserInfo(), senderInformation: Option[SenderInformation] = None, ttlLimit: Option[Timestamp] = None, requestID: Option[Long] = None) extends OmiRequest with Product with Serializable

    Cancel request, for cancelling subscription.

  5. final case class CurrentConnectionCallback(identifier: ConnectionIdentifier) extends WebSocketCallback with Product with Serializable
  6. sealed trait DefinedCallback extends Callback
  7. case class DeleteRequest(odf: ODF, callback: Option[Callback] = None, ttl: Duration = 10.seconds, user0: UserInfo = UserInfo(), senderInformation: Option[SenderInformation] = None, ttlLimit: Option[Timestamp] = None, requestID: Option[Long] = None) extends OmiRequest with OdfRequest with PermissiveRequest with Product with Serializable
  8. final case class HTTPCallback(uri: Uri) extends DefinedCallback with Product with Serializable
  9. trait JavaOmiRequest extends AnyRef
  10. trait JavaOmiResult extends AnyRef
  11. trait JavaOmiReturn extends AnyRef
  12. sealed trait JavaRequestIDRequest extends AnyRef
  13. trait JavaResponseRequest extends AnyRef
  14. sealed trait OdfRequest extends OmiRequest

    Request that contains O-DF, (read, write, response)

  15. type OmiParseResult = Either[Iterable[ParseError], Iterable[OmiRequest]]
  16. sealed trait OmiRequest extends RequestWrapper with JavaOmiRequest

    Trait that represents any Omi request.

    Trait that represents any Omi request. Provides some data that are common for all omi requests.

  17. class OmiResult extends JavaOmiResult

    Result of a O-MI request

  18. class OmiReturn extends JavaOmiReturn
  19. sealed trait PermissiveRequest extends AnyRef

    This means request that is writing values

  20. case class PollRequest(callback: Option[Callback] = None, requestIDs: OdfCollection[Long] = OdfCollection.empty, ttl: Duration = 10.seconds, user0: UserInfo = UserInfo(), senderInformation: Option[SenderInformation] = None, ttlLimit: Option[Timestamp] = None, requestID: Option[Long] = None) extends OmiRequest with Product with Serializable

    Poll request

  21. final case class RawCallback(address: String) extends Callback with Product with Serializable
  22. final case class RawCallbackFound(msg: String) extends Exception with Product with Serializable
  23. class RawRequestWrapper extends RequestWrapper

    Defines values from the beginning of O-MI message like ttl and message type without parsing the whole request.

  24. case class ReadRequest(odf: ODF, begin: Option[Timestamp] = None, end: Option[Timestamp] = None, newest: Option[Int] = None, oldest: Option[Int] = None, callback: Option[Callback] = None, ttl: Duration = 10.seconds, user0: UserInfo = UserInfo(), senderInformation: Option[SenderInformation] = None, ttlLimit: Option[Timestamp] = None, requestID: Option[Long] = None) extends OmiRequest with OdfRequest with Product with Serializable

    One-time-read request

  25. type RequestID = Long
  26. sealed trait RequestIDRequest extends JavaRequestIDRequest

    Request that contains requestID(s) (read, cancel)

  27. sealed trait RequestWrapper extends AnyRef
  28. class ResponseRequest extends OmiRequest with PermissiveRequest with JavaResponseRequest

    Response request, contains result for other requests

  29. sealed trait SenderInformation extends AnyRef
  30. case class SubscriptionRequest(interval: Duration, odf: ODF, newest: Option[Int] = None, oldest: Option[Int] = None, callback: Option[Callback] = None, ttl: Duration = 10.seconds, user0: UserInfo = UserInfo(), senderInformation: Option[SenderInformation] = None, ttlLimit: Option[Timestamp] = None, requestID: Option[Long] = None) extends OmiRequest with OdfRequest with Product with Serializable

    Subscription request for starting subscription

  31. trait UnionableResult extends AnyRef
  32. case class UserInfo(remoteAddress: Option[RemoteAddress] = None, name: Option[String] = None) extends Product with Serializable
  33. abstract class Version extends AnyRef
  34. final case class WSCallback(uri: Uri) extends WebSocketCallback with Product with Serializable
  35. trait WebSocketCallback extends DefinedCallback
  36. case class WriteRequest(odf: ODF, callback: Option[Callback] = None, ttl: Duration = 10.seconds, user0: UserInfo = UserInfo(), senderInformation: Option[SenderInformation] = None, ttlLimit: Option[Timestamp] = None, requestID: Option[Long] = None) extends OmiRequest with OdfRequest with PermissiveRequest with Product with Serializable

    Write request

Value Members

  1. def getPaths(request: OdfRequest): Seq[Path]
  2. def odfMsg(odf: NodeSeq): NodeSeq

    Wraps O-DF format to O-MI msg tag.

    Wraps O-DF format to O-MI msg tag.

    odf

    O-DF Structure.

    returns

    O-MI msg tag.

  3. def omiEnvelopeToXML(omiEnvelope: OmiEnvelopeType): NodeSeq
  4. def requestIDsFromJava(requestIDs: Iterable[Long]): Vector[Long]
  5. def requestToEnvelope(request: OmiEnvelopeTypeOption, ttl: Double): OmiEnvelopeType
  6. def timestampToDateTimeString(timestamp: Timestamp): String
  7. def timestampToXML(timestamp: Timestamp): XMLGregorianCalendar
  8. object Callback
  9. object OdfVersion
  10. object OmiRequestType extends Enumeration
  11. object OmiResult
  12. object OmiReturn
  13. object OmiVersion
  14. object RawRequestWrapper
  15. object ResponseRequest
  16. object Responses
  17. object Results
  18. object ReturnCode extends Enumeration
  19. object Returns
  20. object SenderInformatio
  21. object Version

Inherited from AnyRef

Inherited from Any

Ungrouped