public MamaFtMemberCS() { myState = mamaFtState.MAMA_FT_STATE_UNKNOWN; myTransport = null; myWeight = 50; myGroup = null; }
public void onFtStateChange( MamaFtMember member, string groupName, mamaFtState state, object closure) { myState = state; printState ("FT Notification"); }
public void onFtStateChange( MamaFtMember member, string groupName, mamaFtState state, object closure) { myState = state; printState("FT Notification"); }
internal void OnFtStateChange( IntPtr ftMember, string groupName, mamaFtState state, IntPtr closure) { if (mCallback != null) { mCallback.onFtStateChange(mTarget, groupName, state, mClosure); } }
public static extern IntPtr mamaFtStateToString(mamaFtState state);
/// <summary> /// Convert a fault tolerant state to a string /// </summary> public static string mamaFtStateToString(mamaFtState state) { return(Marshal.PtrToStringAnsi(NativeMethods.mamaFtStateToString(state))); }
public static extern IntPtr mamaFtStateToString (mamaFtState state);
internal void OnFtStateChange( IntPtr ftMember, string groupName, mamaFtState state, IntPtr closure) { if (mCallback != null) { mCallback.onFtStateChange(mTarget, groupName, state, mClosure); } }
/// <summary> /// Convert a fault tolerant state to a string /// </summary> public static string mamaFtStateToString(mamaFtState state) { return Marshal.PtrToStringAnsi(NativeMethods.mamaFtStateToString(state)); }