67 |
}); |
}); |
68 |
}; |
}; |
69 |
|
|
70 |
|
=head2 Reboot { |
71 |
|
|
72 |
|
$response->Reboot( $state ); |
73 |
|
|
74 |
|
=cut |
75 |
|
|
76 |
|
sub Reboot { |
77 |
|
my ( $self, $state ) = @_; |
78 |
|
$self->xml( $state, sub { |
79 |
|
my ( $X, $state ) = @_; |
80 |
|
$X->Reboot(); |
81 |
|
}); |
82 |
|
} |
83 |
|
|
84 |
=head2 xml |
=head2 xml |
85 |
|
|
86 |
Used to implement methods which modify just body of soap message. |
Used to implement methods which modify just body of soap message. |
98 |
|
|
99 |
confess "no ID in state ", dump( $state ) unless ( $state->{ID} ); |
confess "no ID in state ", dump( $state ) unless ( $state->{ID} ); |
100 |
|
|
101 |
warn "state used to generate xml = " . dump( $state ) if $self->debug; |
#warn "state used to generate xml = ", dump( $state ) if $self->debug; |
102 |
|
|
103 |
my $X = XML::Generator->new(':pretty'); |
my $X = XML::Generator->new(':pretty'); |
104 |
|
|