Package com.wombat.mama
Class MamaConnection
- java.lang.Object
-
- com.wombat.mama.MamaConnection
-
public class MamaConnection extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MamaConnection(MamaTransport transport, java.lang.String ipAddress, int port, int maxQueueSize, int curQueueSize, int msgCount, int bytesSent, java.lang.String userName, java.lang.String appName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
java.lang.String
getAppName()
int
getBytesSent()
java.lang.String
getIpAddress()
int
getMaxQueueSize()
int
getMsgCount()
int
getPort()
int
getQueueSize()
MamaTransport
getTransport()
java.lang.String
getUserName()
boolean
isIntercepted()
java.lang.String
toString()
-
-
-
Constructor Detail
-
MamaConnection
public MamaConnection(MamaTransport transport, java.lang.String ipAddress, int port, int maxQueueSize, int curQueueSize, int msgCount, int bytesSent, java.lang.String userName, java.lang.String appName)
-
-
Method Detail
-
destroy
public void destroy()
-
getTransport
public MamaTransport getTransport()
-
getIpAddress
public java.lang.String getIpAddress()
-
getPort
public int getPort()
-
getUserName
public java.lang.String getUserName()
-
getAppName
public java.lang.String getAppName()
-
getMaxQueueSize
public int getMaxQueueSize()
-
getQueueSize
public int getQueueSize()
-
getMsgCount
public int getMsgCount()
-
getBytesSent
public int getBytesSent()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
isIntercepted
public boolean isIntercepted()
-
-