akka.zeromq.ZeroMQ.scala Maven / Gradle / Ivy
The newest version!
/**
* Copyright (C) 2009-2014 Typesafe Inc.
*/
package akka.zeromq;
/**
* Java API for akka.zeromq
*/
object ZeroMQ {
/**
* The message that is sent when an ZeroMQ socket connects.
*
*
* if (message == connecting()) {
* // Socket connected
* }
*
*
* @return the single instance of Connecting
*/
def connecting() = Connecting
/**
* The message that is sent when an ZeroMQ socket disconnects.
*
*
* if (message == closed()) {
* // Socket disconnected
* }
*
*
* @return the single instance of Closed
*/
def closed() = Closed
/**
* The message to ask a ZeroMQ socket for its affinity configuration.
*
*
* socket.ask(affinity())
*
*
* @return the single instance of Affinity
*/
def affinity() = Affinity
/**
* The message to ask a ZeroMQ socket for its backlog configuration.
*
*
* socket.ask(backlog())
*
*
* @return the single instance of Backlog
*/
def backlog() = Backlog
/**
* The message to ask a ZeroMQ socket for its file descriptor configuration.
*
*
* socket.ask(fileDescriptor())
*
*
* @return the single instance of FileDescriptor
*/
def fileDescriptor() = FileDescriptor
/**
* The message to ask a ZeroMQ socket for its identity configuration.
*
*
* socket.ask(identity())
*
*
* @return the single instance of Identity
*/
def identity() = Identity
/**
* The message to ask a ZeroMQ socket for its linger configuration.
*
*
* socket.ask(linger())
*
*
* @return the single instance of Linger
*/
def linger() = Linger
/**
* The message to ask a ZeroMQ socket for its max message size configuration.
*
*
* socket.ask(maxMessageSize())
*
*
* @return the single instance of MaxMsgSize
*/
def maxMessageSize() = MaxMsgSize
/**
* The message to ask a ZeroMQ socket for its multicast hops configuration.
*
*
* socket.ask(multicastHops())
*
*
* @return the single instance of MulticastHops
*/
def multicastHops() = MulticastHops
/**
* The message to ask a ZeroMQ socket for its multicast loop configuration.
*
*
* socket.ask(multicastLoop())
*
*
* @return the single instance of MulticastLoop
*/
def multicastLoop() = MulticastLoop
/**
* The message to ask a ZeroMQ socket for its rate configuration.
*
*
* socket.ask(rate())
*
*
* @return the single instance of Rate
*/
def rate() = Rate
/**
* The message to ask a ZeroMQ socket for its receive bufferSize configuration.
*
*
* socket.ask(receiveBufferSize())
*
*
* @return the single instance of ReceiveBufferSize
*/
def receiveBufferSize() = ReceiveBufferSize
/**
* The message to ask a ZeroMQ socket for its receive high watermark configuration.
*
*
* socket.ask(receiveHighWatermark())
*
*
* @return the single instance of ReceiveHighWatermark
*/
def receiveHighWatermark() = ReceiveHighWatermark
/**
* The message to ask a ZeroMQ socket for its reconnect interval configuration.
*
*
* socket.ask(reconnectIVL())
*
*
* @return the single instance of ReconnectIVL
*/
def reconnectIVL() = ReconnectIVL
/**
* The message to ask a ZeroMQ socket for its max reconnect interval configuration.
*
*
* socket.ask(reconnectIVLMax())
*
*
* @return the single instance of ReconnectIVLMax
*/
def reconnectIVLMax() = ReconnectIVLMax
/**
* The message to ask a ZeroMQ socket for its recovery interval configuration.
*
*
* socket.ask(recoveryInterval())
*
*
* @return the single instance of RecoveryInterval
*/
def recoveryInterval() = RecoveryInterval
/**
* The message to ask a ZeroMQ socket for its send buffer size configuration.
*
*
* socket.ask(sendBufferSize())
*
*
* @return the single instance of SendBufferSize
*/
def sendBufferSize() = SendBufferSize
/**
* The message to ask a ZeroMQ socket for its send high watermark configuration.
*
*
* socket.ask(sendHighWatermark())
*
*
* @return the single instance of SendHighWatermark
*/
def sendHighWatermark() = SendHighWatermark
/**
* The message to ask a ZeroMQ socket for its swap configuration.
*
*
* socket.ask(swap())
*
*
* @return the single instance of Swap
*/
def swap() = Swap
}