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 voiddestroy()java.lang.StringgetAppName()intgetBytesSent()java.lang.StringgetIpAddress()intgetMaxQueueSize()intgetMsgCount()intgetPort()intgetQueueSize()MamaTransportgetTransport()java.lang.StringgetUserName()booleanisIntercepted()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
isIntercepted
public boolean isIntercepted()
-
-