com.jakewharton.pingdom.entities
Class Check.UdpType

java.lang.Object
  extended by com.jakewharton.pingdom.entities.Check.UdpType
Enclosing class:
Check

public static final class Check.UdpType
extends Object

Check.CheckTypeBase wrapper which only exposes methods appropriate for a UDP check type.

Author:
Jake Wharton

Method Summary
 Integer getPort()
          Target port.
 String getStringToExpect()
          String to expect in response.
 String getStringToSend()
          String to send.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPort

public Integer getPort()
Target port.

Returns:
Value.
Since:
2.0

getStringToSend

public String getStringToSend()
String to send.

Returns:
Value.
Since:
2.0

getStringToExpect

public String getStringToExpect()
String to expect in response.

Returns:
Value.
Since:
2.0


Copyright © 2011 Jake Wharton. All Rights Reserved.