com.ibm.net.rdma.jverbs.cm

Enum ConnectionEvent.EventType

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static ConnectionEvent.EventType valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ConnectionEvent.EventType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • RDMA_CM_EVENT_ADDR_CHANGE

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_ADDR_CHANGE
        This event is generated when the network device associated with this ID through address resolution changes its hardware address. For example, this may happen following bonding fail over.
      • RDMA_CM_EVENT_ADDR_ERROR

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_ADDR_ERROR
        This event is generated on the client (active) side. It is generated in response to rdma_resolve_addr() in the case where an error occurs. This may happen, for example, if the device cannot be found such as when a user supplies an incorrect device
      • RDMA_CM_EVENT_ADDR_RESOLVED

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_ADDR_RESOLVED
        This event is generated on the client (active) side in response to rdma_resolve_addr(). It is generated when the system is able to resolve the server address supplied by the client.
      • RDMA_CM_EVENT_CONNECT_ERROR

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_CONNECT_ERROR
        This event may be generated on the active or passive side of the connection. It is generated when an error occurs while attempting to establish a connection.
      • RDMA_CM_EVENT_CONNECT_REQUEST

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_CONNECT_REQUEST
        This is generated on the passive side of the connection to notify the user of a new connection request. It indicates that a connection request has been received.
      • RDMA_CM_EVENT_CONNECT_RESPONSE

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_CONNECT_RESPONSE
        This event may be generated on the active side of the connection to notify the user that the connection request has been successful. The event is only generated on rdma_cm_ids which do not have a QP associated with them.
      • RDMA_CM_EVENT_DEVICE_REMOVAL

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_DEVICE_REMOVAL
        This event is generated when the RDMA CM indicates that the device associated with the rdma_cm_id has been removed.
      • RDMA_CM_EVENT_DISCONNECTED

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_DISCONNECTED
        This event is generated on both sides of the connection in response to rdma_disconnect(). The event will be generated to indicate that the connection between the local and remote devices has been disconnected.
      • RDMA_CM_EVENT_ESTABLISHED

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_ESTABLISHED
        This event is generated on both sides of a connection. It indicates that a connection has been established with the remote end point.
      • RDMA_CM_EVENT_MULTICAST_ERROR

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_MULTICAST_ERROR
        This event is generated when an error occurs while attempting to join a multicast group or on an existing multicast group if the group had already been joined. When this happens, the multicast group will no longer be accessible and must be rejoined if necessary.
      • RDMA_CM_EVENT_MULTICAST_JOIN

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_MULTICAST_JOIN
        This event is generated in response to rdma_join_multicast(). It indicates that the multicast join operation has completed successfully.
      • RDMA_CM_EVENT_REJECTED

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_REJECTED
        This event may be generated on the client (active) side and indicates that a connection request or response has been rejected by the remote device. This may happen for example if an attempt is made to connect with the remote end point on the wrong port.
      • RDMA_CM_EVENT_ROUTE_ERROR

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_ROUTE_ERROR
        This is generated on the passive side of the connection to notify the user of a new connection request. It indicates that a connection request has been received.
      • RDMA_CM_EVENT_ROUTE_RESOLVED

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_ROUTE_RESOLVED
        This event is generated on the client (active) side in response to rdma_resolve_route(). It is generated when the system is able to resolve the server address supplied by the client.
      • RDMA_CM_EVENT_TIMEWAIT_EXIT

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_TIMEWAIT_EXIT
        This event is generated when the QP associated with the connection has exited its timewait state and is now ready to be re-used. After a QP has been disconnected, it is maintained in a timewait state to allow any in flight packets to exit the network. After the timewait state has completed, the rdma_cm will report this event.
      • RDMA_CM_EVENT_UNREACHABLE

        public static final ConnectionEvent.EventType RDMA_CM_EVENT_UNREACHABLE
        This event is generated on the active side of a connection. It indicates that the (remote) server is unreachable or unable to respond to a connection request.
    • Method Detail

      • valueOf

        public static ConnectionEvent.EventType valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • values

        public static ConnectionEvent.EventType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ConnectionEvent.EventType c : ConnectionEvent.EventType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared