Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.activemq.transport
Class TransportStatusEvent

    java.lang.Object
      org.codehaus.activemq.transport.TransportStatusEvent

public class TransportStatusEvent
extends Object

A TransportStatusEvent is raised when the state of the underlying transport channel changes

Version:
  $Revision: 1.2 $

Field Summary
`static int` | `CONNECTED` The channel has been intially and successfully connected
`static int` | `DISCONNECTED` The channel has been disconnected, but maybe reconnected
`static int` | `FAILED` The channel has failed
`static int` | `RECONNECTED` The channel has successfully reconnected after a disconnect
`static int` | `STOPPED` The channel has been STOPPED

Constructor Summary
`TransportStatusEvent()` Default Constructor

Method Summary
`int` | `getChannelStatus()`
`URI` | `getRemoteURI()`
`void` | `setChannelStatus(int channelStatus)`
`void` | `setRemoteURI(URI remoteURI)`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### CONNECTED

    public static final int CONNECTED

  The channel has been intially and successfully connected

  See Also:
    Constant Field Values

### DISCONNECTED

    public static final int DISCONNECTED

  The channel has been disconnected, but maybe reconnected

  See Also:
    Constant Field Values

### RECONNECTED

    public static final int RECONNECTED

  The channel has successfully reconnected after a disconnect

  See Also:
    Constant Field Values

### FAILED

    public static final int FAILED

  The channel has failed

  See Also:
    Constant Field Values

### STOPPED

    public static final int STOPPED

  The channel has been STOPPED

  See Also:
    Constant Field Values

Constructor Detail

### TransportStatusEvent

    public TransportStatusEvent()

  Default Constructor

Method Detail

### toString

    public String toString()

  Returns:
    a pretty print of this

### getChannelStatus

    public int getChannelStatus()

  Returns:
    Returns the channelStatus.

### setChannelStatus

    public void setChannelStatus(int channelStatus)

  Parameters:
    `channelStatus` - The channelStatus to set.

### getRemoteURI

    public URI getRemoteURI()

  Returns:
    Returns the remoteURI.

### setRemoteURI

    public void setRemoteURI(URI remoteURI)

  Parameters:
    `remoteURI` - The remoteURI to set.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Protique, Ltd.. All Rights Reserved.